2016년 12월 26일 월요일

videos don't show in webviewer


In a previous post Taifun propmpted me to use webviewer to play a video, as video player forcefully shows controls, which I do not need and I don't want. As the video I need is stored as an asset (but in production app will be on the sdcard), I included the code to play it in a html file,an asset definitely, hoping to have it played by the browser. But the browser shows nothing, only the controls (which I can easily hide in html file, when I need ). The address of source is the same as that one of html file, changing it simply in "clip.mp4" does not change the results. Any ideas?


--
To be able to play Youtube videos in the webviewer, you have to edit the manifest and add android:targetSdkVersion="14" or higher. Thank you Boban!

to modify the manifest, you can use AppTOMArket or ApkModder
for further questions about modifying the manifest, please ask in the AppToMarket forum https://groups.google.com/forum/#!forum/apptomarket or Apk Modder forum https://groups.google.com/forum/#!forum/gwayapps

-- 
Youtube does not matter at all, because the video is one of mine, my question has nothing to do with Youtube video.

--
sorry, if the answer was confusing for you,
if you want to use the webviewer to play videos, then have to edit the manifest 

-- 

댓글 없음:

댓글 쓰기