LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mozilla plugin for vlc player error (https://www.linuxquestions.org/questions/linux-newbie-8/mozilla-plugin-for-vlc-player-error-865452/)

nishitmukesh 02-28-2011 05:50 AM

mozilla plugin for vlc player error
 
i have embeded vlc in my html code but it is giving plugin missing.i am working on linux "centos"

"application/x-vlc-plugin" is not found.....


i tried to search for mozilla vlc plugin but could not found anything relevant.plz help me.


html code:
<embed type="application/x-vlc-plugin" name="VLC" autoplay="yes" loop="no" volume="100" width="640" height="480" target="mymovie.avi">

<a href="javascript:;" onclick='document.video1.play()'>Play</a>

<a href="javascript:;" onclick='document.video1.pause()'>Pause</a>

<a href="javascript:;" onclick='document.video1.stop()'>Stop</a>

<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>

sumeet inani 02-28-2011 11:44 PM

I wanted to play a flv file in browser at home.
So i created html file containing
Code:

<html>
<head> stream local flv to browser without internet</head>
<body>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360">
                <param name="flashvars" value="abc.flv&image=abc.jpg" />
                <param name="movie" value="mediaplayer.swf" /> 
                <embed src="abc.swf" CONTROLLER=TRUE width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=abc.flv&image=abc.jpg" allowfullscreen="true" />
        </object>
</body>
</html>

abc.flv (video to be played)
abc.jpg (thumbnail for video)
abc.swf (this is the player)
are all in folder containing html file.

I don't remember from where I got this abc.swf though player of megavideo & you tube did not work.

I do one more trick : create a link named abc.flv pointing to desired video file , so no need to copy video in same folder.

sumeet inani 03-01-2011 12:02 AM

I remembered.
My swf is jw media player 3.13

Try this
http://www.longtailvideo.com/jw/upload/mediaplayer.zip

sumeet inani 03-01-2011 12:26 AM

http://www.w3schools.com/media/media_mimeref.asp says you should use 'video/x-msvideo' as type.

<embed src="abc.avi" allowfullscreen="true" />
You can specify border,width,height.

Javascript buttons did not do anything.


All times are GMT -5. The time now is 04:49 AM.