It seems that my mistake in separators wasnt the reat issue here. Take
a look at the css on my web :
<div id="playerhomepage">
<div id="ytplayer">
<p>You will need Flash 8 or better to view this
content.</p>
</div>
</div>
#playerhomepage { float:left} caused a player to disappear in IE -
this wasnt happening when JWplayer was there. Seems like some kind of
flaw in youtube player itself or more likely in rubbish IE's.
anyway its solver - thx for help - i really aprecieated it.
On 30 Maj, 20:16, Jeffrey Posnick <je...@google.com> wrote:
> Hello,
>
> Your player URL is incorrect. You're using
>
> http://www.youtube.com/v/ryTH6Ta3qSY&enablejsapi=1&playerapiid=ytplay...
>
> while you should be using
>
> http://www.youtube.com/v/ryTH6Ta3qSY?enablejsapi=1&playerapiid=ytplay...
>
> (Note that the first separator character between the URL's path and
> parameters needs to be '?', not '&'.)
>
> Cheers,
> -Jeff Posnick, YouTube API Team
> groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> @YouTubeDev
>
> On May 29, 10:18 am, Grzegorz Z <zielak...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello i'm new in this group. Looking for some help with my recent
> > project.
>
> > Anyone coud point an error why this script doesnt work in some IE's
> > 8 ? On Chrome, Mozilla, Safari it works fine but on IE seems bugged.
> > Here's a website:http://tinyurl.com/caa4bsb. Script written with api:https://developers.google.com/youtube/js_api_referencewebsiteis in
> > wordpress. I've put a layer on a youtube player that enables sound and
> > starts playing from the beggining. Idea was to attract attention to
> > played movie but dont annoy people with autoplay sound.
>
> > here is a template code:
>
> > [code=text] <button type="button" id="clicktheplayer"
> > onclick="playlongmovie();"></button>
> > <div id="welcome" style="height: 406px; margin-bottom: 0">
> > <div id="jwplayerhomepage">
> > <div id="jwplayer-1" class="jwsetupheader">
> > <div id="ytplayer">
> > <p>You will need Flash 8 or better to view this
> > content.</p>
> > </div>
> > </div>
> > </div>
> > <script type="text/javascript">
> > var params = { allowScriptAccess: "always",'wmode' : 'opaque' };
> > swfobject.embedSWF(
> > "http://www.youtube.com/v/
> > ryTH6Ta3qSY&enablejsapi=1&playerapiid=ytplayer&autoplay=1",
> > "ytplayer", "399", "225", "8", null, null, params);
> > function onYouTubePlayerReady(){
> > var ytplayer=document.getElementById("ytplayer");
> > ytplayer.mute();}
>
> > function playlongmovie(){
> > var ytplayer=document.getElementById("ytplayer");
> > ytplayer.unMute();
> > ytplayer.seekTo(0, true);
> > $("#clicktheplayer").hide();}
>
> > </script>
>
> > [/code]
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment