HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Embed self-hosted videos

This discussion is related to the Mediator addon.

I have a lot of videos uploaded on my host and I want them to appear inside posts - is this possible using Mediator?

V: 2.0.18.8

Comments

  • @vrijvlinder vids are various formats, like mp4/wmv/avi etc

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    you would embed them using the old fashion embed codes .

    Example:

    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
    <PARAM NAME="src" VALUE="videofilename.mp4" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="videofilename.mp4" TYPE="image/x-macpaint" 
    PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
    </OBJECT>
    
    
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
    <PARAM NAME="src" VALUE="videofilename_mp4.mov" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="videofilename_mp4.mov" TYPE="image/x-macpaint" 
    PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
    </OBJECT>
    
    
    <object id="MediaPlayer" width="192" height="190" type="video/x-ms-asf">
    <param name="FileName"value="videofilename.wmv">
    <param name="autostart" value="false">
    <param name="ShowControls" value="true">
    <param name="ShowStatusBar" value="false">
    <param name="ShowDisplay" value="false">
    <embed type="application/x-mplayer2" src="videofilename.wmv" 
    width="192" height="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0" />
    </object>
    
    <OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="videofilename.wmv">
    <PARAM name="autostart" VALUE="false">
    <PARAM name="ShowControls" VALUE="true">
    <param name="ShowStatusBar" value="false">
    <PARAM name="ShowDisplay" VALUE="false">
    <EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
    WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
    </OBJECT>
    
    <object width="550" height="400">
       <param name="movie" value="somefilename.swf">
       <embed src="somefilename.swf" width="550" height="400">
       </embed>
    </object>
    
    <object  data="="/files/videos/video.avi" type="video/avi"  />
    <embed  src="/files/videos/video.avi" />
    
    xValhgtonightDavidShine
  • @vrijvlinder thanks a lot, got it!

    vrijvlinder
  • I wonder if you can think of a way to auto load a url to an mp4 or flv to a server side installed copy of flowplayer?

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    You can use the plugin playMp3 and it will play a flash version of the mp3

    http://vanillaforums.org/addon/playmp3links-plugin

    DavidShine
Sign In or Register to comment.