Documentation Talk:WebPlugin: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
vlc WebPlugin... nor working
 
Kayaco (talk | contribs)
→Subtitles issue: new section
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== HTML integration issue ==
i ve tried this code
i ve tried this code


Line 5: Line 7:


<embed id="vlc" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"  width="500px" height="500px" src="VIdeo/sampurna.avi"/>
<embed id="vlc" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"  width="500px" height="500px" src="VIdeo/sampurna.avi"/>


<script type="text/javascript" language="Javascript">
<script type="text/javascript" language="Javascript">
Line 15: Line 14:
//!-->
//!-->
</script>
</script>
Hello,
You should ask support questions to the forum instead. This wiki is used for reference documentations.
Regards.
== Subtitles issue ==
Hello,
i've tried to use subtitle api, but i've got an error message :
When i use : ''document.getElementById('vlc').subtitle.count''
i've got this error triggered : ''Uncaught TypeError: Cannot read property 'count' of undefined''
i use it just after i play the video(''document.getElementById('vlc').playlist.play()''), and this video actually have 2 subtitle tracks.
am i supposed to do something before using subtitles ?
Regards.

Latest revision as of 01:36, 24 January 2014

HTML integration issue

i ve tried this code

its not working can any body help me ?


<embed id="vlc" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" width="500px" height="500px" src="VIdeo/sampurna.avi"/>

<script type="text/javascript" language="Javascript"> </script>

Hello, 
You should ask support questions to the forum instead. This wiki is used for reference documentations.
Regards.

Subtitles issue

Hello,

i've tried to use subtitle api, but i've got an error message :

When i use : document.getElementById('vlc').subtitle.count i've got this error triggered : Uncaught TypeError: Cannot read property 'count' of undefined

i use it just after i play the video(document.getElementById('vlc').playlist.play()), and this video actually have 2 subtitle tracks.

am i supposed to do something before using subtitles ?

Regards.