-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch videos on phone or tablet #9
base: main
Are you sure you want to change the base?
Conversation
@cal2195 -- do you have interest and time to glance at something? 😊 Video is working well (thanks to you code 🙇♂️) on the browser on the computer. But whenever I open the remote (the webpage served by the VHA server) the video is absent -- the controls appear where you would expect (as they are their own HTML elements), but instead of a black rectangle for video, or video, it's as if there is a transparent rectangle instead of the video (the size is set by CSS) - so the element may be absent or not rendered or rendered as a rectangle with transparent background 😖 There's no way to "inspect" in iOS -- so I'm stuck for now 😢 |
I'll take a proper look when I get a bit of free time, but if I were to guess, I'd expect it's security issues from the mobile side - phones are a lot more restrictive. Have you tried adding What's the best way to test out the remote side of the app, btw? Is there a port to access from the VHA app, or do I install something on my phone? 😄 |
On Android btw, I believe you can enable dev mode and https://developers.google.com/web/tools/chrome-devtools/remote-debugging |
Thanks -- I'll try some more things today; there's at least one more test I hadn't done to narrow down the problem. Will comment here when I do. To test, the This project To test on mobile, you'll need to put the built assets from this repository If you No pressure on looking into it 😊 |
Update I figured out some things -- seems like it's not the The easiest thing to see is to open the url for the video directly in browser and see that it doesn't work 😅 Safari in the console shows The problem, I strongly suspect, has to do with Safari expecting a This link points to a GitHub repository: https://github.com/phoenixinfotech1984/node-content-range and the code works (but without using FFmpeg to transcode). I'll be testing things out -- but so far nothing to investigate on the Front end side -- it's not an HTML issue (at least not until I can get the video to play in Safari on a Mac). 👌 |
Just a thought, but what happens if you just set the response code to 206? And maybe through in the content range header for good measure? 😄 |
Thank you - I tried the I'll come back to this feature in a few months (when I'm done with my new-in-development image app 😎 ) |
Huge thank you to @cal2195 for his code 🙇
This code comes from his
transcoding-video
branch 🥇This is meant to be released in tandem with whyboris/Video-Hub-App#611 🤝