Comment on page
Add a video playlist to your Ionic app. Learn how we manage videos and media in Ion2FullApp.
So, here’s the thing if you want to integrate video functionalities inside your hybrid app.
The ideal scenario would be native video inside the web-view. Unfortunately, by definition you can’t set a portion of the screen as a native view and the other portion of the screen as a webview. The only way to implement native video in an hybrid app is if you launch the video in fullscreen mode, this way you exit the web-view and enter into a new native view that takes control and plays the video natively in full screen. This is why all the available video cordova plugins only handle fullscreen video.
Some of the videos for this template are stored locally under the
assetsfolder and some others are loaded from the internet. You can see the source of each of them in
Sure! Just upload your video to Firebase storage and put the url of that video in
src/pages/video-playlist/video-playlist.model.tslike in the following example. Please note that you are allowed to set more than one url for the same video but with different video type.
let __video_2 = new VideoModel(
'YOUR VIDEO TITLE',
'YOUR VIDEO DESCRIPTION',
'YOUR VIDEO THUMB IMG',