LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2011, 06:50 AM   #1
nishitmukesh
Member
 
Registered: Oct 2010
Posts: 39

Rep: Reputation: 0
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>
 
Old 03-01-2011, 12:44 AM   #2
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
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.

Last edited by sumeet inani; 03-01-2011 at 12:54 AM.
 
Old 03-01-2011, 01:02 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
I remembered.
My swf is jw media player 3.13

Try this
http://www.longtailvideo.com/jw/upload/mediaplayer.zip
 
Old 03-01-2011, 01:26 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
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.

Last edited by sumeet inani; 03-01-2011 at 02:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlc plugin for mozilla in Redhat arunkp1987 Linux - Newbie 1 04-16-2010 09:33 AM
VLC player plugin for Firefox? ComputerMan Linux - Software 2 05-01-2007 12:05 AM
VLC Mozilla Plugin mertle Linux - Software 2 04-05-2007 02:28 AM
mozilla-plugin-vlc micha Linux - Software 0 04-11-2005 11:22 AM
mozilla-plugin-vlc-0.8.1 for fc3 felnlily Linux - Software 0 02-15-2005 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration