Native playback Video.files Deprecated
See original GitHub issueIssue Summary
In native playback the docs specify to use:
Video video = ...; // obtain a video you own as described above
ArrayList<VideoFile> videoFiles = video.files;
But recent version shows it as deprecated. What is the new way of doing it???
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
File types supported by Windows Media Player
This article lists the multimedia file types that are supported by different versions of Windows Media Player.
Read more >The Video Embed element - HTML - MDN Web Docs - Mozilla
The HTML element embeds a media player which supports video playback into the document. You can use for audio content as well, ...
Read more >Supported media formats - Android Developers
The table below lists the Android media framework video encoding profiles and parameters recommended for playback using the VP8 media codec. SD ...
Read more >Delivering Video Content for Safari - Apple Developer
Optimize your video playback by making use of low-power mode or by using a short video file in an image element instead of...
Read more >How to fix: 'seek(to:)' was deprecated in iOS 11.0
I would like to be able to run my program and have my video play and loop. Instead, I get a blank white...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @amank22 please still use the
video.filesarray, as you will also receive HLSVideoFileobjects in that array, whereasvideo.downloadonly has progressive files. Also,video.downloadwill only have VideoFiles when you have allowed a Video to be downloadable.video.filesis marked asDeprecatedsince in a future version we will no longer support it. We will end up moving to thevideo.play, but right now that is not open to the public.video.embedis also deprecated becausevideo.playhas a much more robust representation. The current deprecation warnings are there as a courtesy that these will change in a future release.Once
video.playis officially the way to obtain VideoFiles, we will update the Readme.Dear @kevinzetterstrom video.play return null. Why it would like this? Thank you.