This content has been marked as final. Show 9 replies
yeah... you can load the "swf" witch is : http://www.youtube.com/v/4aQSpV5cERY
...buy it's pointless (other then haveing a flash only website..) when you can directly add the html tag to your website and have the same result... (because you will load all the youtube play/pause thing if you load this swf..)
Cheers Andreq... just worked it out... loadMovie.
I see what you mean about the controls etc... however if I embed it into the flash rather than the html, it won't be below or to the side of the rest of my flash piece... if you get what I mean.
If the video is being played from teh you tube server, does that mean that youtube pay for the bandwidth being used opposed to my server? thanks.
I think the only "paying" is youtube as it load into client side and not your server.
As for the thing about the movie on the side.. you can do this with one simple CSS rule :S...
Thanks again Andreq85, what do you mean by one simple css rule...Is there a style sheet that will play embeded videos inside my flash movie, so that they appear as one?
Aslo do you have any idea how to get google videos to play using the loadMovie... google embedd tags...
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src=" http://video.google.com/googleplayer.swf?docId=-5426933764767977068" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
however using the same tecchnique for youtube works.. Anyway thanks again.
FlashVars="playerMode=embedded" you have flashVars in google embed tag :D you must init them like :
playerMove = "embedded" before loading...
as I said for the CSS rule..
you may have something like this :
the 2 flash are one under the other... but if you put something like
<embed style="float: left;"></embed>
the first video float on the right and the left next to the 2nd.. (normaly... might need some tweak for IE... witch suck at CSS)
I will take a further look into the css as it is not something I am familiar with... thanks.
I see what you mean about the flashVars... however I cannot see how to get the variable playerMode='embedded' into the swf to be loaded...
but it does not work. I can not see a way of POST or GET the vars to the swf before it is loaded.
I think you will need to do something like
Cheers Andreq85, I had already tried that, but no cigar.. I think it is an issue with the loading order. Thanks anyway.
it's quite strange as " http://video.google.com/googleplayer.swf?docId=8359557998674355614" display good on any browser...flash should be able to load it..
ultimatelty did you try with double quote instead of single quote ?? It may be quite strange but Ive got some problem back in the day with single quote..