Difference between revisions of "Adding videos to web pages"


(Added further details by providing HTML examples and linking other helpful articles.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
First you will need to upload the video file to your hosting. You can do that using the File Manager, Java FTP Applet, or a third-party FTP program. We recommend using a FTP program for files bigger than 3MB.
+
First you will need to upload the video file to your hosting. You can do that using the [[File Manager]], or a third-party SFTP program such as [[How to use FileZilla|FileZilla]]. We recommend using a SFTP program for files bigger than 3MB.
  
 
Then you can create a link to your movie file, or embed it directly into your webpage using HTML code.
 
Then you can create a link to your movie file, or embed it directly into your webpage using HTML code.
  
 +
 +
'''Creating a Link with HTML'''
 +
 +
 +
Insert the link to your video file using an HTML anchor tag.
 +
<a href="[https://mydomain.com/myVideoFile.mp4 http://mydomain.com/myVideoFile.mp4]">Visit My Video!</a>
 +
 +
 +
 +
'''Embedding a Video using an HTML iFrame'''
 +
 +
 +
Embed the video on your website page using an HTML iframe.
 +
<iframe src="[https://mydomain.com/myVideoFile.mp4 http://mydomain.com/myVideoFile.mp4]" title="Watch My Video"></iframe>
 
[[Category:Websites]]
 
[[Category:Websites]]

Latest revision as of 15:37, 22 June 2022

First you will need to upload the video file to your hosting. You can do that using the File Manager, or a third-party SFTP program such as FileZilla. We recommend using a SFTP program for files bigger than 3MB.

Then you can create a link to your movie file, or embed it directly into your webpage using HTML code.


Creating a Link with HTML


Insert the link to your video file using an HTML anchor tag.

<a href="http://mydomain.com/myVideoFile.mp4">Visit My Video!</a>


Embedding a Video using an HTML iFrame


Embed the video on your website page using an HTML iframe.

<iframe src="http://mydomain.com/myVideoFile.mp4" title="Watch My Video"></iframe>