This is a message.

Forum user: Twinflower

Basic information

Registered Dec 13, 2008
Last login Jul 22, 2009
Forum posts 4
Direct URL http://www.flowplayer.org/forum/users/6966

Latest forum posts

Posts:

Registered:

» » » Clicking to play, but i only get a download dialog

Posted: Jul 22, 2009

the problem was AJAX.

since the player was "insertet" with insertHTML and ajax, it didnt work.

the script requires to load as the page load to scan the html for "players" and replace them with objects.

Posts:

Registered:

» Clicking to play, but i only get a download dialog

Posted: Jul 6, 2009

Ok, it seems that the issue is the AJAX-part.

Since the content above (code-section) is loaded with AJAX, it appears as if the JS doesnt get the chance to scan the HTML and create player objects.

Is there any way to fix this?

Posts:

Registered:

Clicking to play, but i only get a download dialog

Posted: Jul 6, 2009

So, I am clicking on the video assuming it's gonna start playback, but instead it goes for a download, as if the javascript didnt load any player at all.

Here is what i have done:


<h2>Video</h2>
<script type="text/javascript" src="http://foniksfsk.no/flowplayer-3.1.1.min.js"></script>
<div id="tandem" class="cutebox wide">
		<h4>Tandem 2009</h4>
		<p class="cbtext">
			<a id="tandemplayer1" href="http://foniksfsk.no/_video/tandem2.flv" class="videocontainer" style="background:url(/_video/tandem2.jpg);width:480px;height:272px;"> 	
			<img src="/_video/play.png" title="Snurr Film" alt="Snurr film" style="margin-top:100px;border:0" /> 
            </a> 
		</p>
		<p>      
			En samling klipp fra diverse tandemhopp<br/>
			<br/>
			Kameramann og videoredigerer: Shane Dunn<br/>
			Tandeminstruktør: Håvard Rognerud<br/>
			
		</p>

		<script type="text/javascript"> 
			flowplayer("tandemplayer1", "http://foniksfsk.no/flowplayer-3.1.1.swf"); 
		</script>
	</div>

The url is:
http://foniksfsk.no/site/tandem#video

But the video content is AJAX loaded, so to see the source you have to select all (ctrl-a), then right click and view selection source.
(At least in Firefox)

Posts:

Registered:

Playersize is all fouled up :/

Posted: Dec 14, 2008

I want the player to wrap around the FLV-file and to play the file in its original size.

Now the player uses the whole with and shows a tiny video in the middle.
And it differs on IE and FF.

url:http://foniks.bluescape.org/site/galleri

The images shown are the videos resolution.

edit: solved when edited CSS width and height of the playercontainer.