VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Hello,
    Can somebody post the code for embedding a flash player on a web page? Also, do I need to change the file extension from .flv to .swf?

    Thank you!
    Quote Quote  
  2. Member
    Join Date
    Jan 2007
    Location
    Republic of Texas
    Search Comp PM
    Look at Baldrick's guide:

    https://forum.videohelp.com/topic355179.html

    If you have already made your flash video, just scroll down the tutorial to this section: "Put the video on your site."
    Quote Quote  
  3. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    the free player listed in the guide will play either. no need to change the extension.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  4. If it's an ambulance...you got a chance. If it's a hearse...it's even worse!!!--Judge Alvin "JP" Valkenheiser

    Want to extract audio from .vob files? Read my guide at https://www.videohelp.com/forum/viewtopic.php?t=187078
    Quote Quote  
  5. You guys are the best - thanks so much!
    Quote Quote  
  6. Hello,
    Can somebody explain this to me?

    If you put the player and video in different folders then add the complete url to to the code like,
    Code:
    <p id='preview'>Error - You must upgrade your flash player to see this video</p>
    <script type='text/javascript' src='http://www.site.com/folder/swfobjects.js'>
    </script>
    <script type='text/javascript'>
    var s1 = new SWFObject('http://www.site.com/folder/player.swf','player','640','360','9.0.115');
    s1.addParam('allowfullscreen','true');
    s1.addParam('allowscriptaccess','always');
    s1.addParam('flashvars','file=http://www.site.com/folder/test.mp4');
    s1.write('preview');
    </script>


    This is what I had to do. I have the video in the same folder on my site with the player. Why do I have to add the .url as in the example above if they are in the same folder?
    Quote Quote  
  7. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    And the html page and javascript file in same folder?
    Quote Quote  
  8. Oops. Thank you, Baldrick!
    Quote Quote  
  9. Oh boy, I knew I'd be back. I can't seem to get more than one player to show up on the page. I am copying and pasting the same code and changing the file name.

    What am I doing wrong?
    Quote Quote  
  10. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    you can't have more than one. but you can make a "playlist". check the JW FLV Media Player website for code examples.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  11. Member zoobie's Avatar
    Join Date
    Feb 2005
    Location
    Florida
    Search Comp PM
    you could use iframes and make it look like it's one page...
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!