Page 1 of 1

Can't play DVD from web page

Posted: 07 Jan 2013 04:14
by tpcarmen
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>

Re: Can't play DVD from web page

Posted: 07 Jan 2013 11:57
by Jean-Baptiste Kempf
Try dvd:///media/Atlantis/VIDEO_TS/

Re: Can't play DVD from web page

Posted: 07 Jan 2013 15:07
by tpcarmen
Try dvd:///media/Atlantis/VIDEO_TS/
That worked! Thanks you!

I've been working on this for days.

Terry

Re: Can't play DVD from web page

Posted: 07 Jan 2013 15:31
by tpcarmen
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).

Re: Can't play DVD from web page

Posted: 07 Jan 2013 15:48
by Jean-Baptiste Kempf
I don't use SElinux, because I believe it to be broken.