Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Location
    Port Coquitlam BC, Canada
    Posts
    25

    Default embedding .mp4 files

    need a coder's assistance please. The default for when you drop an mp4 file into a pro 6 page is that the video be loopable - what do I need to change in the coding to make it just show once unless re-clicked?

  2. #2
    Join Date
    Jun 2009
    Location
    USA (CST)
    Posts
    141

    Default Re: embedding .mp4 files

    Try placing this code into the html portion of the placeholder........hope this helps

    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <PARAM name="SRC" VALUE="sample.mov">
    <PARAM name="AUTOPLAY" VALUE="true">
    <PARAM name="CONTROLLER" VALUE="false">
    <EMBED SRC="sample.mov" WIDTH="160" HEIGHT="144" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
    </EMBED>
    </OBJECT>

    Just change the true/false fields to suit your needs
    http://hubpages.com/hub/Embed-SWF-FLV-MP4-Flash-Video
    this is a good place for more codes

  3. #3

    Default Re: embedding .mp4 files

    The above code will not work for .MP4 files within Xara applcations.
    Edit the Xara created placeholder code like this:

    See next post
    Last edited by steve.ledger; 10 September 2010 at 10:52 PM. Reason: wrong code posted

  4. #4

    Default Re: embedding .mp4 files

    Apologies - I pasted the flash embed code above.

    The correct code as created by xara is this:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,28,0" width="100%" height="100%" id="standAlone" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="index_htm_files/standAlone_omk.swf?url=movie_name.mp4&amp;sound=tr ue&amp;loop=false&amp;tooltip=true&amp;autoplay=false&amp;swfborder =true" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="menu" value="false" />
    <embed src="index_htm_files/standAlone_omk.swf?url=movie_name.mp4&amp;sound=tr ue&amp;loop=false&amp;tooltip=true&amp;autoplay=false&amp;swfborder =true" quality="high" bgcolor="#FFFFFF" width="100%" height="100%" name="standAlone" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

  5. #5
    Join Date
    Apr 2009
    Location
    Port Coquitlam BC, Canada
    Posts
    25

    Default Re: embedding .mp4 files

    Quote Originally Posted by sledger View Post
    Apologies - I pasted the flash embed code above.

    The correct code as created by xara is this:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,28,0" width="100%" height="100%" id="standAlone" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="index_htm_files/standAlone_omk.swf?url=movie_name.mp4&amp;sound=tr ue&amp;loop=false&amp;tooltip=true&amp;autoplay=false&amp;swfborder =true" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="menu" value="false" />
    <embed src="index_htm_files/standAlone_omk.swf?url=movie_name.mp4&amp;sound=tr ue&amp;loop=false&amp;tooltip=true&amp;autoplay=false&amp;swfborder =true" quality="high" bgcolor="#FFFFFF" width="100%" height="100%" name="standAlone" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

    Perfect - Thanks Sledger

  6. #6
    Join Date
    Jun 2009
    Location
    USA (CST)
    Posts
    141

    Default Re: embedding .mp4 files

    p-macinnes....I use this place a lot, it's a plethora of knowledge. Tutorials and how to's
    It's called geekpedia.com

 

 

Bookmarks

Posting Permissions

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