jaeger25 / Html5Video

A Phonegap plugin that allows playback of local video files using html 5 video tags
Apache License 2.0
99 stars 65 forks source link

Plugin doesn't work #17

Open matt88120 opened 10 years ago

matt88120 commented 10 years ago

HTML

JS after device ready

window.plugins.html5Video.initialize({ "myvideo1":"1.mp4" })

DATA

video name "1.mp4" place in res/raw/

DEVICE

ASUS, Android 4.1

4 ERROR LOG

When installing plugin via console : $ [error] Cannot set property 'jaeger.Html5Video' of undefined

03-14 11:32:06.019: E/Web Console(19509): Uncaught TypeError: Cannot read property 'html5Video' of undefined at file:///android_asset/www/index.html#:1

03-14 11:31:46.989: E/Web Console(19509): Uncaught TypeError: Cannot read property 'html5Video' of undefined at file:///android_asset/www/js/index.js:40

jaeger25 commented 10 years ago

Are you including html5Video.js in your index file?

matt88120 commented 10 years ago

Yes of course.

jaeger25 commented 10 years ago

Can you create a repository that repos the issue and I'll look into it