Flutter YouTube API and Video Player Tutorial | Apps From Scratch

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 155

  • @maxwimmer8746
    @maxwimmer8746 3 роки тому +3

    you are my fucking hero i was trying to implement a video player for several days now without any sing of sucess but your tutorial help me that much that my player runs now. I am absolutly crying tears of happnieness thank god that you exist :D have a nice day and keep up the extremely good work.

  • @abdulazeez.98
    @abdulazeez.98 2 роки тому

    I appreciate all the details that you included. Very helpful

  • @daniellbrinneman
    @daniellbrinneman Рік тому

    Marcus, thank you for this video. Please make a video in this series showing how to store whole sections of a screen in offline mode.

  • @jazilzaim
    @jazilzaim 4 роки тому +2

    This is an amazing video! Thank you for making this tutorial! Very informative! Keep it up! :)

  • @AbidAhnafDipu
    @AbidAhnafDipu 4 роки тому

    Thank You So much ! This is what I was trying to do for a few days.I am very excited to see my very own UA-cam Channel App.

  • @snickr6377
    @snickr6377 5 років тому +5

    Great content! Used your coupon to purchase your new Udemy course, excited to start. Looks really good.

  • @bakhtoknowledge839
    @bakhtoknowledge839 4 роки тому +11

    did u please make a video on fetch playlist videos a humble request plz

  • @adwanabilah9316
    @adwanabilah9316 4 роки тому

    btw thank u cause u save my lifeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee....can't imagine if I didnt found your channel.

  • @FilminTamil
    @FilminTamil Рік тому +1

    is we are able to extract captions of particular video if yes how sir??i need that to my project

  • @p4nd4vgaming
    @p4nd4vgaming 3 роки тому

    very helpful channel for flutter learning, keep it up

  • @jacquelinekoo2397
    @jacquelinekoo2397 4 роки тому +2

    Hi, thanks for your detailed explanation of this tutorial. There is a question I am wondering, can I play unlisted youtube video or private playlist by using this? Since I search a lot of information from google, but there is no answer and I even read the documentation from that youtube_player package and still don't know how to play a playlist or a private playlist or unlisted video. Hope you can answer my question and forgive my stupidness on understanding how to use that package, I really appreciate your effort. Thank you so much

  • @chaph5472
    @chaph5472 3 роки тому

    thank you very much for these tutorials, I get more information of them

  • @DiamondWav
    @DiamondWav 5 років тому +21

    Great vid! Could you do a similar video with the Spotify API? 🙏

  • @RaitonGG
    @RaitonGG 4 роки тому +1

    if you go onto a different page and then comeback, it loses the already loaded videos and fetches next 8, any fix for this?

  • @pesisirbelajar2977
    @pesisirbelajar2977 5 років тому +16

    how to take youtube playlist?

    • @RaitonGG
      @RaitonGG 4 роки тому

      make the request to '/youtube/v3/playlists', instead

    • @PrabinThapaliya
      @PrabinThapaliya 4 роки тому

      @@RaitonGG sorry but where do you do that exactly?
      thanks!!

    • @RaitonGG
      @RaitonGG 4 роки тому

      @@PrabinThapaliya have you seen this video? he puts an endpoint. change it

    • @PrabinThapaliya
      @PrabinThapaliya 4 роки тому

      RaitonGG that I did, but the playlist thing isn’t exactly working for me. But thanks a lot!!

    • @Sumonms
      @Sumonms 4 роки тому

      Is it really work?

  • @huferry
    @huferry 4 роки тому

    Thanks for a clear explanation

  • @nomaxJT
    @nomaxJT 4 місяці тому

    Do you know how to get caption tracks from specific videos? Would greatly appreciate, thanks!

  • @RaitonGG
    @RaitonGG 4 роки тому

    E/flutter ( 7197): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: The request cannot be completed because you have exceeded your quota.
    first time i'm using this API, any fix?

  • @Reikom2.0
    @Reikom2.0 2 роки тому

    Great video man. I want to access the duration of each video. Help me. Does anyone know how to access the duration of a video.? The Json snippet seems not to have that

    • @시수-e8s
      @시수-e8s Рік тому

      I'm interesting about it too

  • @dineshnagarajandev
    @dineshnagarajandev 5 років тому +1

    Great video 👍

  • @RaitonGG
    @RaitonGG 4 роки тому

    can we embed youtube videos instead of using this bad player? it removes ads. can't select quality etc etc.

  • @TVSanus
    @TVSanus 5 років тому +2

    App can't load a playlist! There is no error, it just shows loading screen animation and stay that way forever! I've added my own UA-cam API Key. I also added "android.permission.INTERNET" to android/app/src/main/AndroidManifest.xml. But it didn't help! I also tried various UA-cam channel Ids. Any suggestion...

    • @kdramaobsession254
      @kdramaobsession254 5 років тому

      so is mine smh

    • @kdramaobsession254
      @kdramaobsession254 5 років тому +1

      lol so I think you would have done something wrong somewhere I created a new project and it worked

    • @journeywithraya
      @journeywithraya 4 роки тому

      @@kdramaobsession254 Thank you sir its worked

    • @kdramaobsession254
      @kdramaobsession254 4 роки тому

      @@journeywithraya you are welcome i am a girl though haha

  • @Warmaster2143
    @Warmaster2143 3 роки тому

    Okay one thing is that it rakes videos from your uploads out of random not new to old how can i make it so that i get the latest videos from new to old

  • @TrikNgonlen
    @TrikNgonlen 4 роки тому +4

    Great tutorial!
    How to make live streaming section from our YT channel as additional feature to this app?

  • @muhammadazhar1488
    @muhammadazhar1488 5 років тому +1

    very very useful tutorial thx

  • @PinasPiliNa999
    @PinasPiliNa999 4 роки тому

    Hi May I kindly request if you can you show how to search the video titles? THanks!

  • @Rj1650-c2l
    @Rj1650-c2l 3 роки тому

    how to add cue point in video and how to add notes to cue point, once reach to cue point video should pause and notes should popup. and also how to manage the state of the video? please reply

  • @thebigthreereacts
    @thebigthreereacts 10 місяців тому

    how to you get the video once you have the ID? I cant find how to get the video model

  • @limsocheat
    @limsocheat 4 роки тому +1

    Thanks so much sir, you help me a lot.

  • @syedrakibulhasanshuvo8262
    @syedrakibulhasanshuvo8262 2 роки тому

    Hello sir, Can you make a tutorial with youtube playlist. Show and play videos from playlist. Please...

  • @FarooqSheikh143
    @FarooqSheikh143 5 років тому

    Wow wow thanks. Hope next is Insta Feed Screen and also thanks for udemy course going to take it.

  • @Sumonms
    @Sumonms 4 роки тому +1

    How can i do it same things with playlist??

  • @syifaamrulloh4443
    @syifaamrulloh4443 4 роки тому

    thanks very much,for this tutorial ))

  • @padalaharshitagoud3621
    @padalaharshitagoud3621 2 роки тому

    Will all the videos in the channel be displayed in the flutter? So, in the future, if we upload a new video to the channel will it be reflected in the app?

  • @aparnakurudi677
    @aparnakurudi677 3 роки тому

    Thank you!

  • @uDubRiceBoy
    @uDubRiceBoy Рік тому

    Thanks Marcus, can you publish youtube shorts via api?

  • @ashishgarggarg5379
    @ashishgarggarg5379 3 роки тому

    Hi i want to hide copy link button and share button from video playing in my app in flutter using youtubevideocontroller... thanks please help

  • @wayfarer2442
    @wayfarer2442 3 роки тому

    Hi,Thanks marcus for your video,by the way..what about video from youtube it contains AR/VR?it can be replace by debugging on my smartphone rather than emulator one to watch AR/VR video?thanks in advance!

  • @infixustech2140
    @infixustech2140 4 роки тому +1

    Great stuff! Can this be done with a private channel with private videos

  • @ricardooscarkanitz6039
    @ricardooscarkanitz6039 4 роки тому +1

    I created an app using the same plugin it worked fine on Android real device and IOS simulator, but when I uploaded to the play store and downloaded it, the videos were not loading anymore. Any Idea on what could be causing it?

    • @TakuCoding
      @TakuCoding 4 роки тому +1

      add as i posted above

  • @lucasagazzani1597
    @lucasagazzani1597 4 роки тому +8

    Hi, awesome video, thank you! How can I avoid videos from repeating and also how can you call out a playlist instead of the videos of the whole channel?

  • @danyegon5530
    @danyegon5530 3 роки тому

    Amazing work as always! Can you please create a video on eCommerce checkout and add a PayPal/credit card payment? Will be great

  • @jayamuruganj5091
    @jayamuruganj5091 3 роки тому

    How to subscribe chennals and like some videos using UA-cam api data in flutter app?

  • @RaitonGG
    @RaitonGG 4 роки тому

    can we put this on a stream so we dont have to refresh everytime?

  • @vicali317
    @vicali317 6 місяців тому

    Thanks man

  • @hungne8834
    @hungne8834 4 роки тому

    Great tutorial!
    Can I show videos with specific keywords like travel, food, etc. or not?

  • @StudySeeker
    @StudySeeker 3 роки тому

    Is it possible to fetch a youtube playlist with the same in flutter?

  • @huonsokly
    @huonsokly 4 роки тому

    How to take the private video?

  • @tobiasmiklavcic2211
    @tobiasmiklavcic2211 3 роки тому

    Hi Marcus, thank you for that great video! I would like to ask if it is also possible to show or list UA-cam Live Streams. Or is it only possible to list "old" videos? Right now if I open Live Stream in my UA-cam channel it only lists the videos hours later when they are videos and not streams any more ...

  • @kabiryusufbashir
    @kabiryusufbashir 4 роки тому

    Thanks a lot Sir!

  • @ahmedgames9335
    @ahmedgames9335 2 роки тому

    I don't want to use youtube_player_flutter, how can i get the url of the video ?

  • @md.razunmia9879
    @md.razunmia9879 4 роки тому

    First of all thanks a lot for your nice and beautiful tutorial that helps me a lot to learn about the using of UA-cam API. I have implemented your project but there is an issue. When I tap a video from the list of videos then it directed to the video screen and I can listen the sound of the video but I can't see the video. Why is this happening? Could you please help me to sort out the solution. Thanks again for your nice tutorial.

  • @felipefranco7444
    @felipefranco7444 2 роки тому

    Hey @Marcus Ng I get the android{compileSdkVersion 33} error do you know how to solve it I change it in app build Gradle but didn't work.

  • @RainBook-rd15
    @RainBook-rd15 3 роки тому

    How can add download option for this video . HOPE YOU WILL REPLY @MarcusNg

  • @ChathurangaRathnayake
    @ChathurangaRathnayake 4 роки тому

    Hi, I implemented the code. Everything is working fine but videos are not playing. At first it was playing fine, but now it shows only the white spinner on the video thumbnail. Need a help

  • @husainkhan8268
    @husainkhan8268 4 роки тому

    Thanks, but there seems to be one issue. The whole Playlist is getting repeated after keep on scrolling to the end. There seems to be an infinite scrolling happening. Please suggest how we can resolve that.

  • @movpediafitness760
    @movpediafitness760 4 роки тому +1

    @marcus ng after a video finish playing in youtube, how to block another video suggestion by youtube??
    thanks

  • @AiDidthis.
    @AiDidthis. 5 років тому

    Hello thanks for you video but i have a problem that states
    'Unhandled Exception: No filter selected. Expected one of: id, idParam, playlistId'
    I don't know what it means and i have checked Stackoverflow still no solution
    Do you have any Ideas

  • @AbhiCh6171
    @AbhiCh6171 4 роки тому

    That's a great tutorial. But I have a concern with regards to the views. If users watch videos from this app are they counted in youtube views?

  • @anjanamp17it49
    @anjanamp17it49 4 роки тому +1

    Sir I followed the tutorial. when I click on the video only the circular progression is showing the video is not playing kindly help sir.

  • @kimthanhtung2248
    @kimthanhtung2248 4 роки тому

    Could i make an App only play Audio Music from UA-cam, How to Make it, Thanks Pro

  • @niclassic8322
    @niclassic8322 5 років тому

    What is the use of a "factory"? You used it to get a video from a map, but I don't understand its function.

  • @abgthscode6326
    @abgthscode6326 4 роки тому

    bro, how did you check the structure of the api?? ?I pasted the api key in google search bar but im not getting the structure.

  • @lyleverything1767
    @lyleverything1767 4 роки тому

    Unhandled Exception: API key not valid. Please pass a valid API key. I just copy pasted my own API Key but why still key not valid? Please help

  • @lucasagazzani1597
    @lucasagazzani1597 4 роки тому

    How would you implement My list to this
    or if you wanted to have multiple different lists?

  • @faysalahmed4
    @faysalahmed4 4 роки тому

    Thank you brother

  • @hungne8834
    @hungne8834 4 роки тому

    If in the api link there is a private video, how should I solve it. Any help is appreciated

  • @pabloscheinfeld3216
    @pabloscheinfeld3216 4 роки тому

    Is it legal to use the youtube player inside an app with ads? Thank you!

  • @cartoonytooonss
    @cartoonytooonss 3 роки тому

    can we get download speed of network while playing videos

  • @renegaddde
    @renegaddde 4 роки тому

    Great work!! I've noticed that after I scroll the list (ListView), I can't select anymore the video (GestureDetector killed??). Only by me this issue?

  • @Gianluca0000
    @Gianluca0000 4 роки тому +2

    I noticed that your code wont bring livestream videos from playlist, do you know the reason for this ?

  • @ANKITASINGH-qz2ix
    @ANKITASINGH-qz2ix 4 роки тому +1

    Do we need to pay for using the above API through gcp

  • @kadyr
    @kadyr 3 роки тому +1

    Hey Marcus! I wanted to ask you for help or advice on uploading a video to UA-cam. As far as I know, UA-cam has an API for uploading, but there is no library for flutter and dart. So, is it possible to upload videos to UA-cam via a flutter app?

  • @ergi5664
    @ergi5664 4 роки тому

    audio work ,but video is not showing , can help ?
    I/chromium( 5280): [INFO:CONSOLE(570)] "Error while parsing the 'allow' attribute: 'accelerometer;', 'autoplay;', 'clipboard-write;', 'encrypted-media;', 'gyroscope;', 'picture-in-picture' are invalid feature names.", source: s.ytimg.com/yts/jsbin/www-widgetapi-vfligZDzo/www-widgetapi.js (570)

  • @abhishreymittal
    @abhishreymittal 5 років тому

    How can I add description of the video in the video_screen? I have tried a lot, but nothing works. Hoping for an answer... Thanks for the video by the way...😁

  • @mohammadrasel1271
    @mohammadrasel1271 5 років тому

    really nice

  • @binyamhusrn3574
    @binyamhusrn3574 4 роки тому

    hi, nice video but i can't fix this error can you tell me " [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: The playlist identified with the request's playlistId parameter cannot be found."

  • @تعليمالأطفال-د8ض
    @تعليمالأطفال-د8ض 3 роки тому

    Great video please explain blogger api flutter

  • @v9-dvc6gb6
    @v9-dvc6gb6 4 роки тому

    hi, Marcus. I got error when trying to map with the json. on factory channel.from map , I got "NoSuchMethodError (NoSuchMethodError: The method '[]' was called on null.
    Receiver: null
    Tried calling: []("upload")) .
    * do you have any idea why ?

  • @kefa887
    @kefa887 5 років тому

    Nice video what about saving and getting videos from firebase....can you do a tutorial on that?

  • @brialcorp8448
    @brialcorp8448 4 роки тому

    How can we use channel names/title instead of channel id to search

  • @default1405
    @default1405 4 роки тому

    can you add the whole example for you tube json

  • @cachaperena1893
    @cachaperena1893 3 роки тому

    Why the page isnt loading for me

  • @yosuajuliando
    @yosuajuliando 3 роки тому

    Can from Google Drive video?

  • @tovidx0974
    @tovidx0974 4 роки тому

    How to add project credentials for both android and ios ?

  • @guilhermediniz1019
    @guilhermediniz1019 4 роки тому

    I can't find the course on udemy what is the link?

  • @milossblagojevic
    @milossblagojevic 4 роки тому

    Hello, and thank you for the video! How can I get the JSON, so that I can create the channel_model using the JSON?

    • @milossblagojevic
      @milossblagojevic 4 роки тому

      Ok, found the link to UA-cam API Documentation in your video description, thanks! :)

    • @lagadpankaj
      @lagadpankaj 4 роки тому

      @@milossblagojevic How can I return more than 50 video result using JSON?

    • @milossblagojevic
      @milossblagojevic 4 роки тому

      @@lagadpankaj Look here: developers.google.com/youtube/v3/docs/videos/list#usage You have parameter maxResults to set up the number of results.

  • @mikosan5794
    @mikosan5794 Рік тому

    Hey can i ues that and remove youtupe icon?

  • @ankims
    @ankims 3 роки тому

    Does it support quality selection

  • @AshwaniKumar-im6zb
    @AshwaniKumar-im6zb 4 роки тому +1

    Works fine in debug mode, not in release mode..☹️

  • @azrishaharin782
    @azrishaharin782 4 роки тому

    can i ask why _channel.videos..addAll, why not _channel.videos.addAll?

  • @UCDAT
    @UCDAT 7 місяців тому +1

    How to show views?

  • @eternalincantation
    @eternalincantation 3 роки тому

    can you maybe make your mouse a bright color? :D thanks!

  • @trendingstatus5855
    @trendingstatus5855 4 роки тому

    Nice

  • @fix4170
    @fix4170 5 років тому

    Tried this out and its not sorting by release date, how can we sort it that way?

    • @fix4170
      @fix4170 5 років тому

      @@MarcusNg Yea on first load it shows the latest but then it changes next time the page loads in.

  • @veerbhanderi2906
    @veerbhanderi2906 4 роки тому

    List View show in playlist ?

    • @veerbhanderi2906
      @veerbhanderi2906 4 роки тому

      pls help youtube video channel show in playlist mode ?

  • @woshisheili1541
    @woshisheili1541 4 роки тому

    I didn't find this course at Udemy. Why?

  • @AryanKhan-dp8ey
    @AryanKhan-dp8ey 4 роки тому

    Love UA-cam

  • @theodoraseo4248
    @theodoraseo4248 4 роки тому

    where can I find that JSON???

  • @satyamedavarapu1157
    @satyamedavarapu1157 4 роки тому

    How much will it cost to get youtube api