Can't play DVD from web page

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
tpcarmen
New Cone
New Cone
Posts: 8
Joined: 07 Jan 2013 03:51

Can't play DVD from web page

Postby tpcarmen » 07 Jan 2013 04:14

Neither of the embeds below do anything.

The drive doesn't spin up, there are no error messages nothing.

I'm trying to play a local DVD from the browser (in this case firefox on linux), however it also doesn't work in firefox on Windows 8. It doesn't matter which DVD or which machine.

Anybody have any ideas?

Thanks!

Code: Select all

<html> <title>VLC Mozilla plugin test page</title> <body> <embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="yes" width="400" height="300" target="/media/Atlantis/VIDEO_TS/VIDEO_TS.IFO" /> <embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="yes" width="400" height="300" target="/media/Atlantis/VIDEO_TS/VTS_01_4.VOB" /> </body> </html>

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't play DVD from web page

Postby Jean-Baptiste Kempf » 07 Jan 2013 11:57

Try dvd:///media/Atlantis/VIDEO_TS/
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tpcarmen
New Cone
New Cone
Posts: 8
Joined: 07 Jan 2013 03:51

Re: Can't play DVD from web page

Postby tpcarmen » 07 Jan 2013 15:07

Try dvd:///media/Atlantis/VIDEO_TS/
That worked! Thanks you!

I've been working on this for days.

Terry

tpcarmen
New Cone
New Cone
Posts: 8
Joined: 07 Jan 2013 03:51

Re: Can't play DVD from web page

Postby tpcarmen » 07 Jan 2013 15:31

Just a head's-up" for anybody else working on this problem, once I use the right syntax (thanks, Jean-Baptiste!) I found selinux was also causing problems.

You'll need to:
grep plugin-containe /var/log/audit/audit.log | audit2allow -M mypol

then:
semodule -i mypol.pp

to allow access to the DVD drive from Firefox (at least in Fedora).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't play DVD from web page

Postby Jean-Baptiste Kempf » 07 Jan 2013 15:48

I don't use SElinux, because I believe it to be broken.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests