Writing a great article sometimes,isn't complete without embedding a video and/or an audio file to it.
It is highly required when you are posting a practical tech-related tutorial or most times on a news niche,whereby the file makes the post even more explanatory.
So,what if you have the link to a video,how do you embed it in a blog(post)?
In this tutorial,I'll be showing you two easy ways to embed the Windows Media Player in a blog to stream live videos & audio files for visitors to easily watch and listen to.
[Video adapted from google.]

Here's How...

  1. The first way is by adding the media player as a gadget in the sidebar.
    • Login to Blogger.
    • Navigate to Layout » `Add a gadget` » HTML/JAVASCRIPT
    • Copy-Paste the code below and save the widget.
  2. The second method is by embedding the player in each blog-post.
    This can be done by pasting the code below in each post.

Here's the Media-player's code...

<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false"
autostart="false"
width="350"
height="250" loop="false"
src="VIDEO/AUDIO LINK" />

CUSTOMIZATION.

Change the settings of this player to suit you (Optional).
Autostart→ Change this value to "True" if you want the video/audio to start streaming automatically upon visiting the post[Not recommended].
Width/Height→ Change these values respectively to suit you taste.
Loop→ Force the video/audio to loop constantly.
That's all.Just make sure you get a valid url.

1 blogger-facebook:

 
Top