Go
Not registered? Sign up!

Embed Code not working in internet explorer

Google Translate
22 posts | return to the Bug Reports forum | get the rss feed for this thread

Jan. 19, 2009Chris P

I would really like some help with this. The following code is to produce a player that plays two movies. This works in Firefox but only plays one movie in IE or Safari.

<!-- START: FILMTRAILER.COM FLASH PLAYER version 3.3 -->
<object width="400" height="225">
<param name="movie" value="http://www.player.filmtrailer.com/v3.3/player.swf?file=http://uk.player-feed.filmtrailer.com/v2.0/cinema/1511|1508/?channel_user_id=441100227-1"></param>
<embed type="application/x-shockwave-flash" src="http://www.player.filmtrailer.com/v3.3/player.swf?file=http://uk.player-feed.filmtrailer.com/v2.0/cinema/1511|1508/?channel_user_id=441100227-1&default_quality=xlarge&display_title=none&volume=35" allowFullScreen="true" width="400" height="225"></embed>
</object><br/> <a style="font-family: verdana; color:cccccc; font-size:
8pt; text-decoration:none" alt="filmtrailer.com" target="_blank" href="http://uk.filmtrailer.com/">Film Trailers by Filmtrailer.com</a>
<!-- END: Provided by filmtrailer.com -->

I would really appreciate some help.

Thanks

Chris

Jan. 20, 2009michael

me too, help!!!!

Jan. 22, 2009Chris P

This is explorer 7 & 8. Any help out there?

Jan. 22, 2009Chris P

The problem is to do with the vertical bar as a separator.

One film works fine, but when I try to add another film using the vertical bar | as a separator it onlys plays one.

But it will play both in Firefox.

Jan. 22, 2009Chris P

We have fixed this now. encoding our source according to UTF-8. I.e.

<!-- START: FILMTRAILER.COM FLASH PLAYER version 3.3 -->
<object width="400" height="225">
<param name="movie" value="http://www.player.filmtrailer.com/v3.3/player.swf?file=http://uk.player-feed.filmtrailer.com/v2.0/cinema%2F1508%7C1513%7C1524%7C1418%2F%3Fchannel_user_id%3D441100227-1" />
<embed type="application/x-shockwave-flash" src="http://www.player.filmtrailer.com/v3.3/player.swf?file=http://uk.player-feed.filmtrailer.com/v2.0/cinema%2F1508%7C1513%7C1524%7C1418%2F%3Fchannel_user_id%3D441100227-1" allowFullScreen="true" width="400" height="225"></embed>
</object><br /> <a style="font-family: verdana; color:cccccc; font-size: 8pt; text-decoration:none" alt="filmtrailer.com" target="_blank" ref="http://uk.filmtrailer.com/">Film Trailers by Filmtrailer.com</a>
<!-- END: Provided by filmtrailer.com -->

Jan. 26, 2009Jef

@my site (www.dieperbeeld.nl) single films don't work in IE either.

This is the code:
<div id="player1" style="text-align:left"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<p> <script type="text/javascript" src="swfobject.js"></script><br />
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","360","288","9");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=/wp-content/filmMarco.flv&fullscreen=true");
s1.write("player1");
</script></p>


and this is the code as I fixed it in Wordpress:
<div id="player1" style="text-align:left"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","360","288","9");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=/wp-content/filmMarco.flv&fullscreen=true");
s1.write("player1");
</script>


The players work fine in Firefox

Any suggestions?

thanks in advance,

Jef

Jan. 26, 2009lefTy

@Jef,

You don't wrap the JavaScript code for the player in a paragraph element.
<div id="player1" style="text-align:left">
  <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
  var s1 = new SWFObject("player.swf", "ply", "360", "288", "9");
      s1.addParam("allowfullscreen",   "true");
      s1.addParam("allowscriptaccess", "always");
      s1.addParam("flashvars",         "file=/wp-content/filmMarco.flv");
      s1.write("player1");
</script>


The flashvar fullscreen is read-only, so I removed it from your code.

Please review the v4.x player supported flashvars here:

      http://developer.longtailvideo.com/trac/wiki/FlashVars#Behaviour

Your problem with Internet Explorer is probably related to the Adobe Flash Player. Go to Adobe's site and get the uninstaller. Uninstall, reboot, reinstall the Adobe Flash Player.

Jan. 26, 2009Jef

@ LefTy,

Thanks for your quick response.

A frind of mine just fixed it. Like this:


<!--start_raw-->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("player4", "9.0.0");
</script>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="365" height="312" id="player4">
<param name="movie" value="player.swf">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="file=/wp-content/filmMarco.flv">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="player.swf" width="365" height="312">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="file=/wp-content/filmMarco.flv">
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<!--end_raw-->


This way the IE gets a different treatment.

Regards,

Jef

Jan. 26, 2009lefTy

The conditional code is not necessary, but if it works, good luck!

Jan. 28, 2009dude

doesn't this work without javascript so it works on myspace too?

Mar. 30, 2009Riescha

Will you help me get this to play in IE?

<embed src="player.swf" width="432" height="240" loop="false" bgcolor="undefined" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" allowfullscreen="true" flashvars="file=videos/customers_speak/rto_testimonial.flv&image=videos/customers_speak/wills.jpg&controlbar=over" play="false"/>

Apr. 08, 2009felipe

The Jef one worked perfect!, thanks!



<!--start_raw-->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("player4", "9.0.0");
</script>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="365" height="312" id="player4">
<param name="movie" value="player.swf">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="file=/wp-content/filmMarco.flv">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="player.swf" width="365" height="312">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="flashvars" value="file=/wp-content/filmMarco.flv">
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<!--end_raw-->

Apr. 08, 2009tdjaloul

thank u 4 all

Jun. 04, 2009not work in IE p

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','99','height','33','src','images/audio/1 rich harlan mp3','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/audio/1 rich harlan mp3' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="99" height="33">
<param name="movie" value="images/audio/1 rich harlan mp3.swf" />
<param name="quality" value="high" />
<embed src="images/audio/1 rich harlan mp3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="99" height="33"></embed>
</object>
</noscript>

Jun. 04, 2009viral

please help me about this code is not working IE

Aug. 05, 2009Gagan shrestha

winContent+='<object type="application/x-shockwave-flash" data="http://www.ebible.com/twop/player.swf" id="audioplayer1" height="24" width="250">';
winContent+='<param name="audio" value="http://www.ebible.com/twop/player.swf">'
winContent+='<param name="FlashVars" value="playerID=1&soundFile=http://www.ebible.com/twop/'+ quality +"/"+ audio_file +'">'
winContent+='<param name="quality" value="high">'
winContent+='<param name="menu" value="false">'
winContent+='<param name="wmode" value="transparent">'
winContent+='</object>'


This is the code for embedding the flash player in my html file. i have a player.js file inplace. it works fine in safari and firefox but dosent work in IE .Any help is appreciable.....

Aug. 05, 2009lost

You need a second object element for Internet Explorer.

See: http://www.longtailvideo.com/support/forum/Setup-Problems/13856/Multiple-playlists-on-blogger#msg93968

Aug. 21, 2009david

thank you

Oct. 27, 2009SLI

Currently using JW player as a solution to implement streaming video from a third party. Works great except that the embed code generated after the video does not work.

<embed src='http://devlogos.com/sites/default/files/player-licensed-viral.swf' height='267' width='400' allowscriptaccess='always' allowfullscreen='true' flashvars='file=http%3A%2F%2Fdevlogos.com%2Flogosministries%2Fvideos%2Foldtestament%2Fbible_blasts_001a.flv&image=http%3A%2F%2Fsalemnet.vo.llnwd.net%2Fo29%2Flogosministries%2FBible%20Blasts%20Pictures%2FOne%20Stone.jpg&streamer=rtmp%3A%2F%2Fsalemnet.fcod.llnwd.net%2Fa3186%2Fo29%2F&plugins=viral-1d'/>

When I remove the escaped characters manually the embed code works -

<embed src='http://www.devlogos.com/sites/default/files/player-licensed-viral.swf' height='267' width='400' allowscriptaccess='always' allowfullscreen='true' flashvars='image=http://salemnet.vo.llnwd.net/o29/logosministries/Bible Blasts Pictures/Naked People.jpg&streamer=rtmp://salemnet.fcod.llnwd.net/a3186/o29/&file=logosministries/videos/specialtopics/bible_blasts_015.flv&volume=100&plugins=viral-1d'/></embed>

Any suggestions on getting JW player to generate the correct code automatically would be very appreciated.

Oct. 28, 2009Zachary Ozer

These two embed codes aren't remotely the same - they don't reference the same file, and the second has a streamer, while the first doesn't.

How are you generating the first embed code from the second?

Oct. 29, 2009dfsd

dsfsdf

Oct. 29, 2009dfsd

sdfsdf

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.