Playing video from youtube and other pages - flutter

I am using a video_player package which nicely shows videos stored in firebase storage via their links in firestore. But replacing link to video in storage with youtube link doesn't work.
My point is to make an app which would show videos from youtube and maybe other pages like vimeo.
Maybe someone has done it already?
Thank you in advance

This package does the work perfectly
*I've used it on Flutter version < 2.0 so I don't know if it will work if you're using the current framework version

Related

Embedding Dailymotion Videos in a Flutter App: Is it Possible and Good Practice?

I am trying to find a way to include Dailymotion videos in my Flutter app. The Dailymotion API has SDKs for embedding videos in native Android and iOS apps, but I cannot find a solution for Dart. Can I use these SDKs in Flutter and is it considered a good practice? Are there any potential issues with this approach?
daily motion API reference: https://developers.dailymotion.com/player#embed-mobile
I attempted to include videos by using the current link of the video but the link keeps changing frequently.

How to play YouTube videos in google chromecast from Flutter application?

My Flutter application has some YouTube video links. Those YouTube links, i would like to stream through google chromecast. I have seen some video stream casting using the below flutter libraries.
https://pub.dev/packages/cast
https://pub.dev/packages/dart_chromecast
But those libraries are playing MP4 format video streaming. So i am searching for the way to play YouTube videos though flutter application in chromecast.
Please someone suggest me if there is any code clues for this.
We had the same challenge, and we searched high and low. Finally found this solution to make it work: https://pub.dev/packages/dart_chromecast
Make sure your flutter compiler is downgraded to 13 or below. Otherwise, you will not be able to compile. Unfortunately, their code is not supported in a newer version of the flutter compiler and the author is not going to update anytime soon.

Upload video from iPhone to YouTube using ESSVideoShare

I'm trying to upload a video using Eternal Storm video share app. I downloaded the iOS sample project from the link below and tried uploading a video that I created on my phone using his sample project. Basically, everything seems to work except, the url comes back nil after trying to upload. I tried uploading the same video to the same youtube account and it worked from the iPhone's camera roll app.
Can someone help resolve?
Thanks
https://github.com/eternalstorms/ESSVideoShare-for-OS-X-Lion

How to play video in-app using the YouTube API?

I have my GDataEntryBase from the GDataFeedYouTubeVideo and now I need to load the youtube video for watching.
I have searched the web and can't work it out, there is very little documented on this using the YouTube API. How can I achieve this?
I recommend to use this below to include youtube videos in your app or maybe emmbed.
http://www.cocoacontrols.com/platforms/ios/controls/hcyoutubeparser
You can play it using HTML5 webview. It will play the YouTube video. But it create problem for 4.* devices. Thanks
Santanu

Web video gallery

I'm looking for a simple plugin to integrate a video gallery in a website. I prefer it to be based on flash rather than HTML5 (for browser compatibility) and it should play videos hosted localy.
Thanks in advance,
Alex
You could consider open-source solutions like: 1.JWPlayer: www.longtailvideo.com/players/jw-flv-player/(maybe the most used)
2.FlowPlayer: http://flowplayer.org/
3.FLV Player: http://flv-player.net/