- 2
Не проигрывает видео
Выходит чёрный экран.
12 Respuestas
0
do you have the code so we can check ?
0
yes
0
please,check my code,I will so thankful
0
next time put the code in the description, when you're writing a question there's a `insert code` button. change from Hot Today to My Code Bit and click on the cose you want to post.
ok now,
if you only use the filename, the browser will find that video in same folder as itself. and because here the code run in sandboxed enviroment you'll need a direct url to that video to make it work. the tutorial below only cover an image, but video will also work the same way
https://www.sololearn.com/discuss/1054246/?ref=app
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
0
it doesn't work again
0
did you try the tutorial ?
0
yes
0
can i see the link ? or have you update the code ?
0
its video in my gallery
0
you cant, even though its possible by using file:/// as the url. the others cant see them, simply because the video only available from your device
0
I can't download video in my gallery?
0
you can but other people cant.
you'll need to find the path to the file first, usually just tap and hold click on properties or information.
you'll find a list of information about the video. find the one named `path` its usually looks like
/sdcard/storage/0/video/video.mp4
copy that to your video src in html, then add file:/// at the start, so it'll looks like
file:///sdcard/storage/0/video/video.mp4