rdkd1970 Posted June 2, 2011 Share Posted June 2, 2011 This is my script I want to display but it does not show in the page just blank. <td><object width="220" height="148"><param name="movie" value="http://www.youtube.com/user/THEWORLDOFTRAVEL#p/search/2/uX9nd3xM_MY=1&h1=enUS&color1=0x234900&color3=34900&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/user/THEWORLDOFTRAVEL#p/search/2/uX9nd3xM_MY=1&h1=enUS&color1=0x234900&color3=34900&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="220" height="148"></embed></object></td> Quote Link to comment Share on other sites More sharing options...
WebStyles Posted June 2, 2011 Share Posted June 2, 2011 is it possible that the video does not have the 'allow embedding' option set to 'yes' ? Quote Link to comment Share on other sites More sharing options...
rdkd1970 Posted June 2, 2011 Author Share Posted June 2, 2011 I am not sure what you mean.???? Quote Link to comment Share on other sites More sharing options...
WebStyles Posted June 2, 2011 Share Posted June 2, 2011 when a video is uploaded to youtube, the uploader has an option to choose if he's going to allow other people to embed the movie or not (i.e. in other websites, like you're trying to do). If this is not set to 'Allow', you won't be able to show it. Although I'm quite sure you should see a blank area with something saying "embedding disabled for this video". Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted June 2, 2011 Share Posted June 2, 2011 Try this. http://code.google.com/apis/youtube/youtube_player_demo.html so need the video id <object width="220" height="148"><param name="movie" value="http://www.youtube.com/v/LRAYG7XiFtk?version=3&feature=player_embedded"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LRAYG7XiFtk?version=3&feature=player_embedded" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="220" height="148"></embed></object> Quote Link to comment Share on other sites More sharing options...
rdkd1970 Posted June 2, 2011 Author Share Posted June 2, 2011 I am grabbing this video from youtube are you mentioning this may not be usable for me to borrow it and display it on my page and I will need to choose another one. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted June 2, 2011 Share Posted June 2, 2011 When I put that URL into a web browser, I get an error message from YouTube: "Incorrect parameters, please try again." When a video is displayed on YouTube there is a menu item you can click that will give you the code needed for embedding the video in your page. Use it. For example, I picked one video at random from that page and this is the code for sharing it: <object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/VcRABREWPbE?version=3&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VcRABREWPbE?version=3&hl=en_US&rel=0" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object> Ken Quote Link to comment Share on other sites More sharing options...
WebStyles Posted June 2, 2011 Share Posted June 2, 2011 Actually, I just tried the link you have and it's incorrect. Where did you copy that from? videos that allow embedding will have the embedding code available for you. Don't just grab code from the browser url. you link gives out a warning saying: 'Incorrect parameters, please try again.' Hope this helps Quote Link to comment Share on other sites More sharing options...
WebStyles Posted June 2, 2011 Share Posted June 2, 2011 it's always fun when two guys write the same thing at the same time. just makes me smile . Totally agree with kenrbnsn. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted June 2, 2011 Share Posted June 2, 2011 GMTA (Great Minds Think Alike) Ken Quote Link to comment Share on other sites More sharing options...
rdkd1970 Posted June 2, 2011 Author Share Posted June 2, 2011 Yea I grabbed it from the address bar. I just did not know....!!! Quote Link to comment Share on other sites More sharing options...
rdkd1970 Posted June 2, 2011 Author Share Posted June 2, 2011 Okay thanks I copied your info for that video and yea it worked now I am out to find the correct link to that video I want to borrow. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.