1 2 3 | < embed autoplay = "yes" height = "486" loop = "no" name = "stream1" target = "rtsp://admin:admin@192.168.0.89:554/cam/realmonitor?channel=1&subtype=0" type = "application/x-vlc-plugin" width = "594" windowless = "yes" > or < embed autoplay = "yes" height = "774" loop = "no" name = "stream1" target = "./video/5.avi" type = "application/x-vlc-plugin" width = "946" windowless = "yes" > |
s
而我的Arch Linux用firefox開出現下面這個錯誤畫面:
解法:
安裝npapi-vlc-git (需先裝vlc,pacman有套件)
$ yaourt -Ss npapi-vlc-git #注意pacman找不到npapi-vlc-git這套件
aur/npapi-vlc-git 2.1.3.100.g417d246-1 (148)
The modern VLC Mozilla plugin
yaourt太慢的話就用proxychains4 翻牆去下載安裝
# proxychains4 yaourt -S npapi-vlc-git
裝完後重開firefox,<embed>會出現這畫面:
點擊啟用VLC Web.後就能正常看影片
VLC更進階的應用(Firefox plugin API):
http://www.videolan.org/doc/play-howto/en/ch04.html
沒有留言:
張貼留言