Hi, i'm using FMS 4.0 to perform an rtmp stream and an .swf player, built in Flash professional to open the stream!
My problem is that when i embed the swf into my site (www.livezone.gr), all the buttons work except of the full screen button! To embed the swf file i have uploaded it to my web server first in a folder which also includes the Skin.swf file and
i use the following code to embed it :
<iframe src="My Video.swf" frameborder="0" width="610" height="480"></iframe>
The problem is only when embeding it,otherwise when i open it directly from my webserver or my pc everything works fine!
.That's my only problem,if you can help me solve it everything will work like a charm!
Thanks in advance, Michail Papamichalakis
My code looks like this now!
<iframe src="http://www.livezone.gr/LiveStreaming/LiveStreaming-PapMedia/LiveStream _1/Live%20Streaming%20player1.swf" frameborder="0" width="610" height="480" allowFullscreen="true" ></iframe>
Is it correct? It should be going fullscreen without problem right?
But the full screen still doesn't work! Should i use other type of embed code or it doesn't matter?
You can check it by clicking at the link of my .swf player i am doing a test stream right now so you can check it!!
that's not going to work.
have flash publish your swf and embedding html. make sure the html template is flash only - allow fullscreen.
then change your iframe's src attribute to be the embedding html. in addition, use a local, not absolute path to your embedding html otherwise you will need to use cross-domain permission files.
open the fla that published your swf. click file>publish settings, tick html if it's not already ticked. click the html tab>click the template combobox and select flash only - allow fullscreen.
then click file>publish.
you should see your swf file (re)published and an html file in the directory with your fla.
put the flash published swf and html in the same directory with your iframe containing html file and change your iframe tag to:
<iframe src="Live%20Streaming%20player1.html" frameborder="0" width="610" height="480" ></iframe>
assuming that's the name of the html file published by flash.