Yoututbe Video QueryStrings
Youtube provide lot of options to play youtube video on your website or blog very easier, when you integrate youtube video on your website, you can add the following query strings.Integrate youtube video on your website
We can use the youtube video on our website, using iframe option, youtube is provide some code to integrate the video on the website.copy the give url and paste it to your website
<iframe width="560" height="315" src="https://www.youtube.com/embed/40x5Hv534PA" frameborder="0"></iframe>
The output is shown belowAdd youtube video with query string
Query strings are pass with the end of the url's like www.example.com?a=1&b=909 , similarly youtube also having more query string for different purpose.
HD=1
|
The video will play in
High Quality Size.
|
autoplay=1
|
When we load the youtube video, it will play without asking
permission.
|
start=60
|
Th video will play from sixteenth(60) seconds.
|
loop=3
|
The video play three times, it will not stop when the video play
first and second time.
|
vq=small
|
Video will play 240Pixel size
|
vq=medium
|
Video will play 360Pixel size.
|
vq=large
|
Video will play 480Pixel size.
|
vq=hd720
|
Video will play 720Pixel size.
|
rel=0
|
To disable to display the suggested video, after played the youtube
video.
|
showinfo=0
|
Remove the title from the video.
|
fs=1
|
Full screen allowed.
|
Fs=0
|
Full screen not allowed.
|
Example:
<iframe width="560" height="315" src="https://www.youtube.com/embed/40x5Hv534PA?loop=3&Fs=0&rel=0&start=60" frameborder="0" start="48" loop="5" autoplay="1" HD="1" allowfullscreen="1"></iframe>
0 comments:
Post a Comment