Online computer courses, code, programming tutorial and sidebar information for monitoring Canadian S&P/TSX index. Build friendship and networking. Welcome to visit my blogs often!!! I also have two other sites: YouTube Channel and Google site.
Adsense
Popular Posts
- PHPWind-- A PHP forum script applcaition in China
- How to blend adsense inside your post?
- Formatting my post
- Notepad++ - Add C++ compiler
- Install PHPMailer 5.2.4 and use smtp gmail
- Set up a child account and set screen time limit in Windows 8
- Wayback Machine - see archived versions of web pages across time
- phpexcel toggle expand and hide column in EXCEL and summary
- Install PHP ibm_db2 extension in Linux (redHat)
- PHP: add a download as pdf file button in report page
Friday, November 16, 2012
Embed youtube video in high quality (HD)
If you upload high Quality (HD) video yo YouTube, Youtube will have an option HD for your video. But when you embed your video, the default is not HD. You need to add ?hd=1 on the end of the youtube url.
Example, default embed code:
<object style="height: 500px; width: 100%"><param name="movie" value="http://www.youtube.com/v/_qJJPgz_aZ4"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always">
<embed src="http://www.youtube.com/v/_qJJPgz_aZ4" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="100%" height="500"></object>
After adding ?hd=1 on the end of the youtube url
<object style="height: 500px; width: 100%"><param name="movie" value="http://www.youtube.com/v/_qJJPgz_aZ4?hd=1"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always">
<embed src="http://www.youtube.com/v/_qJJPgz_aZ4?hd=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="100%" height="500"></object>
You can see the video quality is quite difference.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment