-
Notifications
You must be signed in to change notification settings - Fork 58
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
Video doesn't play in browser when uploaded from the app. #3292
Comments
Couldn't replicate on my side. Device: iPhone 6s, iOS v14.3 (also tested on iOS v14.4.1) |
I wasn't able to replicate this either. I will update my device to 14.4 and try this again. |
👋 @rezzap , any specifics on which browser the user tried and on which OS? Thanks! |
Tested again on iOS 14.4.1 and wasn't able to reproduce the issue. |
@hypest I don't know for sure which browser the user tried, but I replicated this on my end using Firefox 86.1 (64 bits), Chrome (89.0.4389.90). I'm now able to get the video to play in Safari though, but not the other browsers. I'm on OS 10.15.7. To confirm, the video works fine on the mobile web browser, it just doesn't play in a desktop browser on my MacBook when I create the block from the app. |
Aha, good to know you can replicate @rezzap ! Is that on a site of your own that you can share details (example failing post) here perhaps? Thanks! |
I'll send you the details privately @hypest, since these are for private posts. Thanks! |
Thanks for the info @rezzap . I noticed the posts in the private site of yours and yeah, can confirm that the mobile-app uploaded vide/post is only playing audio, while the Calypso uploaded one plays video+audio normally. Thing is, looks like the Calypso one is not HEVC but H.264, so I wonder if there's some auto-transcoding that takes place in one flow but not the other. 👋 @roundhill , I think I kinda recall you mentioning at some point that there is indeed transcoding happening automatically. Can you confirm whether transcoding is happening when HEVC is uploaded via Calypso, and maybe not happening when the same HEVC video is uploaded via the mobile apps? Thanks! |
The auto-transcode is taking place for mobile video uploads, but I think y'all are inserting the original video and not the transcoded one(s). On the web we use the video shortcode to insert the VideoPress player into a post, which will load the transcoded videos that work across most browsers. For example, @antonis' video details are at this endpoint: https://public-api.wordpress.com/rest/v1.1/videos/sIahVDOw Happy to walk y'all through the transcoding process, I think it could be beneficial to get VideoPress working better on mobile. |
I've added the "[Pri] High" as this is related to HEVC files on iOS which the users will probably use often. |
I did a couple more tests today:
|
Headsup that I believe wordpress-mobile/WordPress-iOS#16548 will address this issue. |
It may be better to do a bit of API back-and-forth when uploading to a site using VideoPress, so that you can insert the h264 transcoded video into the block instead of the original file:
|
Thanks for the analytical instructions @roundhill! Do you think the same would be needed for Atomic sites? There's a similar ticket on Android and I do see while testing that uploading to Atomic ends up in broken posts on the frontend (example from a test site of mine).
About that step in particular, looks like the URLs for the transcoded files are not available until the transcoding is finished for each individual variant. What's the recommended flow in that case? Should we poll to see when the transcoding is finished (say, for the |
Noting that this is still an issue and I think the |
Fixed in Automattic/jetpack#35637. |
This.is.great! 💚 |
Describe the bug
When I create a new video block from the app and then try to view this post in a web browser on desktop (Firefox), I only get the audio. The video portion doesn't play.
I've tested this on Personal and Premium plan sites, private or public and receive the same issue.
To Reproduce
Steps to reproduce the behavior:
When I checked the path to the video itself, I get a forbidden error message. I can share links to testing sites if needed.
Expected behavior
I would expect that the video displays in a browser on desktop if it's working in the mobile browser.
Screenshots
Smartphone (please complete the following information):
Additional context
The issue is specific to the browser so I'm not sure if it's app related, but given it only happens with posts created from the app I figured it would be a good place to start.
Reported in a chat: 28469174-hc
Follow up ticket: 3832447-zd-woothemes
The text was updated successfully, but these errors were encountered: