A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: exact code to create HTML links to open/play specific video from an XML file

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    8

    exact code to create HTML links to open/play specific video from an XML file

    I have an FLV videogallery set up to load files from an XML document. I need to somehow link to a specific point in the XML file (i.e. video#2) from another HTML page. (I would like to set up a link on Rogerspublishing.ca that links to the video gallery html page and starts playing the second sequence in the XML file as opposed to the first. Ideally this link would be placed in the href. What is the simplest way to go about setting this up?

    any help is greatly appreciated

    The code in the HTML page where the swf gallery file is embedded is:
    <script type="text/javascript" src="http://qml.quiettouch.com/files/publishing/swfobject.js"></script>
    <script language=javascript src="http://www.rogerspublishing.ca/js/flashLoader.js"></script>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','name','player','widt h','580','height','420','align','middle','id','pla yer','src','gallery','loop','false','quality','hig h','wmode','window','bgcolor','#ffffff','allowscri ptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','play','true','movie','gallery' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" name="player" width="580" height="420" align="middle" id="player">
    <param name="movie" value="gallery.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="window" />
    <param name="bgcolor" value="#ffffff" />
    <param name="LOOP" value="false" />
    <param name="PLAY" value="true" />
    <embed src="gallery.swf" width="580" height="420" loop="false" align="middle" quality="high" wmode="window" bgcolor="#ffffff" name="player" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" play="false" />
    </object>
    </noscript>

    The XML is called through AS3.

    Please let me know if this is possible.

  2. #2
    I know nothing.
    Join Date
    Feb 2008
    Posts
    315
    So you are trying to link videos from an external source to your FLV player via XML?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center