iFrames

62 1 0
                                    


Welcome to iFrames! iFrames in a toned down language is basically an HTML implemented into an HTML. For example, the experiment we will be performing is iFrames in associations with "embed" links from youtube videos. Now, this link isn't the normal URL of the video. This is obtainable by right-clicking the destined video and clicking "Copy embed code". This will copy to your clipboard the HTML code of the video along with all its attributes. Therefore, if it's in fullscreen and you attempt to press the button it will indicate in the code that it is fullscreen. The reason why this is an iFrame is that all sites are founded on the language HTML. Therefore justifying the HTML in an HTML inception. Now, youtube does the nice thing and makes the whole piece of code for you, so if you have gone through that process just paste it in there. If not, you will want to start off with this example (The iFrame can be used anywhere which doesn't hold account of the things that it consists of like CSS or Head):

<iframe src="video link"></iframe>

Pretty simple right?
There are of course more attachments that can be used within the iFrame but I can't be bothered to measure the unnecessary information in here. In the advanced book, we will revisit this topic as there is an applicable method to iFrames in order to make a custom player for the MP4 (Custom Timeline/Video Settings).


Basic HTMLWhere stories live. Discover now