Sign inSign up

honeyrama/video-sample

By honeyrama

•Updated over 8 years ago

Video-File

Image
0

131

honeyrama/video-sample repository overview

Its local running repo:- I Use Only Simple Commands:- Given Below. (Build :- docker build -t video-sample . Just Run It :- docker run -p 80:80 video-sample Tag:-docker tag fd2c61306cd0 docker honeyrama/video-sample Push:-docker push honeyrama/video-sample.)

HTML YouTube Videos The easiest way to play videos in HTML, is to use YouTube.

Struggling with Video Formats? Earlier in this tutorial, you have seen that you might have to convert your videos to different formats to make them play in all browsers.

Converting videos to different formats can be difficult and time-consuming.

An easier solution is to let YouTube play the videos in your web page.

YouTube Video Id YouTube will display an id (like tgbNymZ7vqY), when you save (or play) a video.

You can use this id, and refer to your video in the HTML code.

Playing a YouTube Video in HTML To play your video on a web page, do the following:

Upload the video to YouTube Take a note of the video id Define an element in your web page Let the src attribute point to the video URL Use the width and height attributes to specify the dimension of the player Add any other parameters to the URL (see below) Example - Using iFrame (recommended) <iframe width="420" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY"> YouTube Autoplay You can have your video start playing automatically when a user visits that page by adding a simple parameter to your YouTube URL.

Note: Take careful consideration when deciding to autoplay your videos. Automatically starting a video can annoy your visitor and end up causing more harm than good.

Value 0 (default): The video will not play automatically when the player loads.

Value 1: The video will play automatically when the player loads.

YouTube - Autoplay

example:"https://www.youtube.com/embed/z_i4BInxWAk?t=3⁠

YouTube Playlist A comma separated list of videos to play (in addition to the original URL).

Text Color You can set the color of text:

Hello World Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

HTML Colors HTML colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.

Color Names In HTML, a color can be specified by using a color name:

Tomato Orange DodgerBlue MediumSeaGreen Gray SlateBlue Violet LightGray

HTML supports 140 standard color names.

Background Color You can set the background color for HTML elements:

Hello World

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Example

⁠Hello World

Lorem ipsum...

Text Color You can set the color of text:

Hello World Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Main Part;- HTML

Tag

Example Group related elements in a form:

Personalia: Name:
Email:
Date of birth: Definition and Usage The tag is used to group related elements in a form.

The

tag draws a box around the related elements.

Browser Support Element

Yes Yes Yes Yes Yes Tips and Notes Tip: The tag defines a caption for the element.

Differences Between HTML 4.01 and HTML5 HTML5 has added new attributes for

.

Attributes = New in HTML5.

Attribute Value Description disabled disabled Specifies that a group of related form elements should be disabled form form_id Specifies one or more forms the fieldset belongs to name text Specifies a name for the fieldset Global Attributes The

tag also supports the Global Attributes in HTML.

Event Attributes The

tag also supports the Event Attributes in HTML.

Related Pages HTML DOM reference: Fieldset ObjectHTML Comments Comment tags are used to insert comments in the HTML source code.

HTML Comment Tags You can add comments to your HTML source by using the following syntax:

Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.

Note: Comments are not displayed by the browser, but they can help document your HTML source code.

With comments you can place notifications and reminders in your HTML:

Example

This is a paragraph.

Comments are also great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors:

Example

Tag summary

Content type

Image

Digest

Size

42.5 MB

Last updated

over 8 years ago

docker pull honeyrama/video-sample