php_begins Posted July 15, 2011 Share Posted July 15, 2011 I have trouble embedding a youtube url in a webpage! here is my code: <iframe class="youtube-player" type="text/html" width="100" height="100" src="<?php echo $ShowVideo; ?>"></iframe> it does displays the url fine in the view-source section. But the thumbicon does not show up in the web page. Any help would be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/242088-embedding-a-youtube-url/ Share on other sites More sharing options...
ZulfadlyAshBurn Posted July 16, 2011 Share Posted July 16, 2011 what you mean by thumbicon? shouldnt you just use the facebook embed/object script? its much easier. Quote Link to comment https://forums.phpfreaks.com/topic/242088-embedding-a-youtube-url/#findComment-1243506 Share on other sites More sharing options...
ryanfilard Posted July 23, 2011 Share Posted July 23, 2011 Do you want to embed the video or the thumbnail. Use the youtube api to get the thumbnail photo. http://img.youtube.com/vi/VIDEO_ID_HERE/0.jpg Quote Link to comment https://forums.phpfreaks.com/topic/242088-embedding-a-youtube-url/#findComment-1246422 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.