HTML5 Video Player logo
HTML5 Video Player for Mac and Windows


MPG* is a very popular video type on the internet for both its video quality and light weight. However it is not a native HTML5 video**, thus MPG videos are not playable on HTML5 browsers. If want to play .MPG files on a HTML5 website or browser, you need to convert MPG to html5 formats first, then embed them into your webpage with an MPG HTML5 player.

How to Convert MPG to HTML5 Video?

Step 1. Download MPG to HTML5 Converter.

The only software you need is HTML5 video converter. Both Windows and Mac versions are now ready to download. You can download it from bellow page:

Download MPG to HTML5 Converter

Step 2. Add MPG video(s) to the HTML5 converter

Simply click Add Videos button to import MPG video files from your computer hard disc to the application. This HTML5 converter supports batch video conversion, you can add multiple MPG videos to the converter and convert them into HTML5 videos in a batch.

Step 3. Select a player for your HTML5 videos

Click Theme tab, you will be able to choose a video player from many of the ready-made HTML5 video themes and templates. Optionally you can also set your video size, player size, and player skin here.

Step 4. Preview videos in Player and convert MPG to HTML5

Click the Preview button to view your MPG videos in HTML5 player, click the Publish button to convert the source MPG files to HTML 5 videos with the nice looking web video player.

Now you have converted MPG to HTML5 video, additionally you get the professional HTML5 player as well. They can be found from the output folder of this MPG to HTML5 converter software. It is time for us to publish the HTML5 video online now.

MPG to HTML5 video player

How to Add MPG to HTML5 website?

In the first half of this MPG to HTML 5 tutorial, we showed you the steps to convert MPG to HTML 5, now please follow bellow steps to embed the HTML 5 videos into your website.

1. Upload the HTML5 videos from local computer to remote server

The HTML 5 videos and player will be published to your local hard disc first. Run the MPG to HTML5 converter, go to HTML5 menu >> Open Output Folder, find the HTML 5 video project we have just created and upload them to your website directory through FTP client.

2. Copy HTML5 video embed code snippets and Paste to your Web page.

From the output folder, there will be a .html created with each html 5 video project published. Use a text/page editor to open the generated ‘html5video.html’ file and switch to code view. You can get the embed code for your HTML5 player there.

See details here: HTML5 Video Player Support – To embed HTML5 video to your webpage.

3. Publish your webpage and play the HTML5 videos online

Now you know how to easily convert MPG videos to HTML5 and publish them to your website with HTML5 video player(s). Have Fun!

*MPG: Common digital video format standardized by the Moving Picture Experts Group (MPEG). There are several audio/video formats which bear this group’s name, such as MPEG1, MPEG2, MPEG4, typically incorporates MPEG-1 or MPEG-2 audio and video compression. They are often used for creating movies that are distributed on the Internet.

**HTML5 video: Refers to native HTML5 video/codec: MP4 (MPEG 4 files with H264 video codec and AAC audio codec); WebM files with VP8 video codec and Vorbis audio codec; Ogg files with Theora video codec and Vorbis audio codec.

, ,

Comments are currently closed.