473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Youtube embedded code problem ie8

150 100+
I have two problems with YouTube embedded code:
Expand|Select|Wrap|Line Numbers
  1. <object id="selected-box_11027" width="460" height="330" data="http://www.youtube.com/v/We-eNqzmtEw?feature=player_embedded&enablejsapi=1&playerapiid=selected-box_11027&version=8&rel=1&fs=1&wmode=opaque">
  2.         <param name="allowFullScreen" value="true"></param>
  3.         <param name="wmode" value="opaque"></param>
  4.         <param name="movie" value="http://www.youtube.com/v/We-eNqzmtEw?feature=player_embedded&enablejsapi=1&playerapiid=selected-box_11027&version=8&rel=1&fs=1&wmode=opaque"></param>
  5.         <param name="allowScriptAccess" value="always"></param>
  6.         <embed width="460" height="330" src="http://www.youtube.com/v/We-eNqzmtEw?feature=player_embedded&enablejsapi=1&playerapiid=selected-box_11027&version=8&rel=1&fs=1&wmode=opaque" allowScriptAccess="always" type="application/x-shockwave-flash" wmode="opaque"></embed>
  7.       </object>
  8.  
to the player i use this code:
Expand|Select|Wrap|Line Numbers
  1. var ytplayer = $('object')[0];
  2. // play
  3. ytplayer.playVideo();
  4.  
problems :

1- in Firefox this code work's OK with no problems at all, put in ie8 i get this error "Object doesn't support this property or method".
2- when i use FancyBox the YouTube player overlap with it even i added the "wmode=opaque", this problem appear in chrome and ie.
Dec 12 '11 #1

✓ answered by acoder

See if the following link helps (at least for the 1st question):
http://code.google.com/apis/youtube/...html#Embedding

1 3772
acoder
16,027 Expert Mod 8TB
See if the following link helps (at least for the 1st question):
http://code.google.com/apis/youtube/...html#Embedding
Dec 16 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Dave | last post by:
I'm having a strange problem with the pyqt-tools in the latest Debian packages. When I run $ pyuic colortool.ui > colortool.py Extracting init() Extracting loadSettings() Extracting...
242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
4
by: bruce.1 | last post by:
It's my understanding that the next version of Visual Studio and ASP.NET will have the code-behind inline with the HTML, in the same file. It's also my understanding that Visual Studio will...
0
by: Fox | last post by:
Greetings, How can i parse inline code? I have the following code: System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("<asp:TextBox id=\"myControl\" runat=\"server\"...
19
by: Marco | last post by:
FYI: Guidelines for writing efficient C/C++ code http://www.embedded.com/showArticle.jhtml?articleID=184417272 any comments?
2
by: malicula | last post by:
I copy and pasted the YouTube embedded code to my web page and I can't view the video in Internet Explorer. I can view it with FireFox and Safari but not with IE (I tested it on several PCs and it's...
1
NeoPa
by: NeoPa | last post by:
Actually, the question's a little more involved than that. Let me try to explain as succinctly as I can. I want to know how to execute code that is held within the project I'm trying to open...
2
by: rahulgd | last post by:
Hi All, We are trying to port the embedded code in C/C++. It is currently compiled and linked using GHS compiler v1.8.8. Now we want to move to GHS compiler v4.2.4. There is huge gap between the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.