<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>No video just audio if Internet Explorer refreshed</title>
		<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed</link>
		<description>LongTail Video forum thread: No video just audio if Internet Explorer refreshed</description>
		<ttl>60</ttl>
		<language>en-us</language>
		<copyright>some rights reserved (cc)</copyright>
		<pubDate>Sat, 21 Nov 2009 06:40:12 -0500</pubDate>
		<lastBuildDate>Wed, 01 Jul 2009 20:47:33 -0400</lastBuildDate>
		<atom:link href="http://www.longtailvideo.com/jw/rss/?thread=18185" rel="self" type="application/rss+xml" />
		<item>
			<dc:creator>lost</dc:creator>
			<title><![CDATA[Looks like you've kicked a goal!]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122989</link>
			<description><![CDATA[Looks like you've kicked a goal!
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122989</guid>
			<pubDate>Wed, 01 Jul 2009 20:47:33 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[hehe...but I figured out a way to fix it though...I am  ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122987</link>
			<description><![CDATA[hehe...but I figured out a way to fix it though...I am using the latest swf (as3, I think) and tried the date time hack when embedding and it works!!

[code]
swfobject.embedSWF('player.swf'+ cacheHack(), 'placeholder1', '250', '150', '9.0.124', false, flashvars, params, attributes);

function cacheHack()
{
   return "?t=" +new Date().getTime();
}

Thanks for your help anyway :)
[/code]]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122987</guid>
			<pubDate>Wed, 01 Jul 2009 20:09:39 -0400</pubDate>
		</item>
		<item>
			<dc:creator>lost</dc:creator>
			<title><![CDATA[Unfortunately, I can't reproduce this issue. It's proba ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122934</link>
			<description><![CDATA[Unfortunately, I can't reproduce this issue. It's probably dependent on a particular version of IE7, a particular version of the Adobe Flash Player, and the phase of the moon.

Here are some other things that you can try:

1) use swfobject v2.2[code]<script src="http://ajax.googleapis.com/ajax/libs/swfobject/[b]2.2[/b]/swfobject.js"></script>[/code]
2) try a different release of the JW FLV Player from here: [b]http://developer.longtailvideo.com/trac/log/trunk/as3/player.swf[/b]
Click on the release that you want in the [b]Rev[/b] column,

3) specify a valid DOCTYPE (the first line in the code that I posted above),

4) KICK IT! (often works when all else fails).    :D
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122934</guid>
			<pubDate>Wed, 01 Jul 2009 08:23:24 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[[code] ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122909</link>
			<description><![CDATA[[code]
<head>
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>

	<script type="text/javascript">
	      var player = null;
		  function playerReady(thePlayer) 
		  {
			player = document.getElementById(thePlayer.id);
		  };

		  var flashvars =
	      {
	        file: "/lib/swf_player/get_healthy.flv",
	        id:"player1",
	        controlbar:"none",
	        id:"player1",
	        autostart:"true"
	      };
	
	      var params =
	      {
	        allowfullscreen:"true",
	        allowscriptaccess:"always"
	      };
	
	      var attributes =
	      {
	        id:"player1",
	        name:"player1"
	      };
	
		  swfobject.embedSWF("/lib/swf_player/player.swf", "placeholder1", "250", "150", "9.0.124", false, flashvars, params, attributes);
    </script>
</head>
<body>
	    <table>
	    <tr>
	    <td>
	    	<div id="placeholdercontainer1"><a id="placeholder1" href="http://www.adobe.com/go/getflashplayer">Get flash to see this player</a></div>
	    </td>
		<td>
			<a href="#" onclick="player.sendEvent('VOLUME', 50); return false;">Unmute</a>
			<a href="#" onclick="player.sendEvent('MUTE'); return false;">Mute</a>
		</td>
		</tr>
		</table>
</body>
[/code]

This is what I did and still the refreshing in IE draws a blank when you do it the 2nd time !!!!!!

I use this script as an include in my page, dunno if that changes anything. Any ideas?? This is really frustrating]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122909</guid>
			<pubDate>Wed, 01 Jul 2009 01:31:43 -0400</pubDate>
		</item>
		<item>
			<dc:creator>lost</dc:creator>
			<title><![CDATA[To use the JavaScript API, you only need to set the nam ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122783</link>
			<description><![CDATA[To use the JavaScript API, you only need to set the name & id attributes and the id flashvar, which is in the code that I posted.

To simplify things a bit, you can get the player reference object once, then re-use it. I added the code in bold to do this.[code]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">

  <head>

    <title>BK - JWMP v4.5.x - swfobject v2.1</title>

    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>

    <script type="text/javascript">
      [b]var player;[/b]


      [b]function playerReady(obj)[/b]
      [b]{[/b]
        [b]player = document.getElementById(obj.id);[/b]
      [b]};[/b]


      var flashvars =
      {
        file:                'get_healthy.flv',
        id:                  'player1',
        controlbar:          'none',
        id:                  'player1',
        autostart:           'true'
      };

      var params =
      {
        allowfullscreen:     'true',
        allowscriptaccess:   'always'
      };

      var attributes =
      {
        id:                  'player1',
        name:                'player1'
      };

      swfobject.embedSWF('player.swf', 'placeholder1', '250', '150', '9.0.124', false, flashvars, params, attributes);
    </script>

  </head>

  <body>

    <table>
      <tr>
        <td>
          <!-- keep the next line all on one line so you don't end up with a 5px margin below the player -->
          <div id="placeholdercontainer1"><a id="placeholder1" href="http://www.adobe.com/go/getflashplayer">Get flash to see this player.</a></div>
        </td>
        <td>
          <li><a href="#" onclick="player.sendEvent('VOLUME', 50); return false;">UnMute</a></li>
          <li><a href="#" onclick="player.sendEvent('MUTE'); return false">Mute</a></li>
        </td>
      </tr>
    </table>

  </body>

</html>

[/code]
It's highly recommended that you load swfobject v2.1 from Google's CDN for the following reasons:


Loading from Google AJAX Libraries API

    [b]http://pipwerks.com/journal/2008/11/11/swfobjectjs-finds-a-home-on-google-servers/[/b]


How & Why You Should Use Google CDN

    [b]http://webmuch.com/how-why-you-should-use-google-cdn/[/b]

]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122783</guid>
			<pubDate>Tue, 30 Jun 2009 03:30:28 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[Sorry let me be a bit clear. If I don't have the create ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122778</link>
			<description><![CDATA[Sorry let me be a bit clear. If I don't have the createplayer() on onload(), how do I set the mute etc from the outside? Right now, I have a onClick event that mutes the player. Thanks.]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122778</guid>
			<pubDate>Tue, 30 Jun 2009 03:00:49 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[This is what I want to do. [code]	 ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122776</link>
			<description><![CDATA[This is what I want to do. 
[code]
<head>
	<script src="/lib/swf_player/swfobject.js"></script>
    <script type="text/javascript">
	      var player = null;
		  function playerReady(thePlayer) 
		  {
			player = window.document[thePlayer.id];
		  };

		  function createPlayer()
		  {
			  var flashvars =
		      {
		        file: "/lib/swf_player/get_healthy.flv",
		        autostart:"true",
		        controlbar:"none"
		      };
		
		      var params =
		      {
		        allowfullscreen:"true",
		        allowscriptaccess:"always"
		      };
		
		      var attributes =
		      {
		        id:"player1",
		        name:"player1"
		      };
		
			  swfobject.embedSWF("/lib/swf_player/player.swf", "placeholder1", "250", "150", "9.0.124", false, flashvars, params, attributes);
		  }
    </script>
</head>
<body onload="createPlayer();">
<table>
	<tr>
		<td>
			<div id="placeholder1">
				<a href="http://www.adobe.com/go/getflashplayer">Get flash</a> to see this player	
			</div>
		</td>
		<td>
			<li><a href="#" onclick="player.sendEvent('VOLUME', 50)">UnMute</a></li>
			<li><a href="#" onclick="player.sendEvent('MUTE')">Mute</a></li>
		</td>
	</tr>
</table>
</body>
[/code]

So if I put ID tags in Flashvars would it be alrite? 
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122776</guid>
			<pubDate>Tue, 30 Jun 2009 02:51:51 -0400</pubDate>
		</item>
		<item>
			<dc:creator>lost</dc:creator>
			<title><![CDATA[Fixed:[code]    ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122766</link>
			<description><![CDATA[Fixed:[code]
   <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>

    <script type="text/javascript">
      var flashvars =
      {
        file:                'get_healthy.flv',
        id:                  'player1',
        controlbar:          'none',
        id:                  'player1',
        autostart:           'true'
      };

      var params =
      {
        allowfullscreen:     'true',
        allowscriptaccess:   'always'
      };

      var attributes =
      {
        id:                  'player1',
        name:                'player1'
      };

      swfobject.embedSWF('player.swf', 'placeholder1', '250', '150', '9.0.124', false, flashvars, params, attributes);
    </script>

  </head>

  <body bgcolor="#DDDDDD">

[/code]

[i]"How do I use JS controls then?"[/i]

What do you mean by this? You didn't have any JavaScript API code in the code that you posted above.
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122766</guid>
			<pubDate>Mon, 29 Jun 2009 20:58:13 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[How do I use JS controls then? Plus this doesn't work a ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122764</link>
			<description><![CDATA[How do I use JS controls then? Plus this doesn't work anyway]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122764</guid>
			<pubDate>Mon, 29 Jun 2009 20:18:09 -0400</pubDate>
		</item>
		<item>
			<dc:creator>lost</dc:creator>
			<title><![CDATA[[code]     ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122277</link>
			<description><![CDATA[[code]
    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>

    <script type="text/javascript">
      var flashvars =
      {
        file:                'get_healthy.flv',
        autostart:           'true'
        id:                  'player1',
        controlbar:          'none',
        autostart:           'true'
      };

      var params =
      {
        allowfullscreen:     'true',
        allowscriptaccess:   'always'
      };

      var attributes =
      {
        id:                  'player1',
        name:                'player1'
      };

      swfobject.embedSWF('player.swf', 'placeholder1', '250', '150', '9.0.124', false, flashvars, params, attributes);
    </script>

  </head>

  <body bgcolor="#DDDDDD">

[/code]
Let swfobject monitor the DOM loading and determine when to write the object element for embedding the player.
]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122277</guid>
			<pubDate>Wed, 24 Jun 2009 22:12:34 -0400</pubDate>
		</item>
		<item>
			<dc:creator>Bk</dc:creator>
			<title><![CDATA[Hi,Upon refreshing the page in IE the video doesn't ..]]></title>
			<link>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122273</link>
			<description><![CDATA[Hi,

Upon refreshing the page in IE the video doesn't play anymore but just plays the audio. It works fine in Firefox and if you embed it directly. Below is the code I am using:

[code]<script type="text/javascript" src="/lib/swf_player/swfobject.js"></script>
<script type="text/javascript">

function createPlayer(thePlayer, theFile) {
	var flashvars = {
		file:theFile, 
		autostart:"true", 
		controlbar:"none"
	}

	var params = {
		allowfullscreen:"true", 
		allowscriptaccess:"always"
	}

	var attributes = {
		id:thePlayer,  
		name:thePlayer
	}

	swfobject.embedSWF("player.swf", "placeholder1", "250", "150", "9.0.115", false, flashvars, params, attributes);
}
</script>

<body bgcolor="#DDDDDD" onload="createPlayer('player1', 'get_healthy.flv')">
<div style="margin-top: -180px; margin-right: 165px; float: right;"><h3><a href="http://www.gethealthynsw.com.au/">Get Healthy</a></h3></div>
<div class="clear-hidden"></div>
<div style="margin-top: -160px; float: right; border: 2px solid #336699;">
		<div id="placeholder1">
			<a href="http://www.adobe.com/go/getflashplayer">Get flash</a> to see this player
		</div>
	</div>
</body>[/code]

I am clueless!!]]></description>
			<guid>http://www.longtailvideo.com/support/forum/Bug-Reports/18185/No-video-just-audio-if-Internet-Explorer-refreshed#msg122273</guid>
			<pubDate>Wed, 24 Jun 2009 20:57:45 -0400</pubDate>
		</item>
	</channel>
</rss>