11 Replies Latest reply: Jul 25, 2010 6:11 PM by Randy Edmunds RSS

    What type of extension would this be?

    ac361 Community Member

      Hi. I'm building an extension that will allow the user to insert an HTML5 video tag on the page along with a JavaScript script tag pointing to a library file. Here's what the user needs to be able to do:

       

      1. See a dialog box that allows the setting of any number of SOURCE tags. Each source tag can be of a number of types (MOV, MP4, OGG, WEBM). As a SOURCE tag is added, the dialog has option to add another blank one so the user can fill it out.
      2. For each SOURCE tag, the user can "Browse" and attach a video file of those formats.
      3. User can "Browse" for an optional POSTER image.
      4. User can set the width, height, LOOP property, CONTROLS property, AUTOPLAY, PRELOAD ("none", "metadata", "auto").
      5. Or the user can set the video tag's SRC property directly without setting any SOURCE tags.
      6. The user can insert any number of these video tags and then be able to select them and edit them via the dialog box later.

       

      Would this be of the Behavior extension type or of the Insert type? I'm trying to look for a tutorial that will help in creating this. If someone knows of an extension tutorial for something similar to what I'm trying to create here, that will be much appreciated. Thanks.