AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


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.

Youtube integration code

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 below



Add 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

Total Pageviews