Questions tagged [youtubeplayer]

88 questions
0
votes
1 answer

Dismiss YTPlayerView() and return to UITableView

I have a UITableView embedded inside of my container view which is being modally presented over current context. The videos load fine but there is no way for me to simply dismiss the video and return back to my UITableView. I would like the option…
soRazor
  • 137
  • 9
0
votes
0 answers

Detect song ending in YTPlayer View in iOS

I have used YTPlayer View to play song using videoID, now i want to detect the current song ending state, i have used a delegate but it isn't catching it.How i can detect when the song is finish so that i could play next song. This is my code, func…
Hamza
  • 33
  • 5
0
votes
0 answers

Issue in hiding youtube player info and suggested list in iOS

i have used YTPlayerView in my VC where i load the songs through song VideoId,Now when the song run in player it shows me info, share, Song logo and name and when pause the video it shows related songs list. I'm trying to hide all of this from…
Hamza
  • 33
  • 5
0
votes
0 answers

Error inflating class com.google.android.youtube.player.YouTubeThumbnailView

I am trying to play videos from Youtube inside ListAdapter but i got this Error only with api <= 23 , does that mean only api > 23 are supported with youtubeplayer ? is there another way to play Youtube videos in android applications ? this is my…
Ahmad Sabbagh
  • 152
  • 1
  • 11
0
votes
0 answers

youtube video stops playing after entering or exiting from picture in picture mode

I am trying to play youtube video, In Picture in Picture mode. For this I am using youtube player api, when I press back button youtube player activity comes in picture in picture mode but video is stops playing, when i press play button then it…
dev_swat
  • 1,264
  • 1
  • 12
  • 26
0
votes
1 answer

How do i create a youtube view with fullscreen and portrait capabilities inside a container fragment view

I have an activity and framelayout container for replacing fragments inside the activity.Like below
robin_24
  • 109
  • 2
  • 9
0
votes
1 answer

Youtube player intialized error with huwaei mate 20 pro

I'm trying to use the Youtube Player Api in Android. I followed the examples provided by google, but I get the error: ERROR_CONNECTING_TO_SERVICE The demo is working with all devices except HUWAEI MATE 20 PRO having 8.0. I don't know why it is not…
0
votes
2 answers

Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver

I'm a newbie Android "programmer" and I've tried to find the answer to this error without luck. There are some half answers but nothing that suggest what to do more exactly in my unique situation. This error comes when closing a YoutubePlayer…
0
votes
1 answer

Viewpager with Youtube Player API

I have used ViewPager. And In some of the items, I have used Youtube Player Fragment. I used PageTranformers from this Android Dev Page public class DepthPageTransformer implements ViewPager.PageTransformer { private static final float MIN_SCALE…
Jyoti JK
  • 2,141
  • 1
  • 17
  • 40
0
votes
1 answer

How to use YoutubePlayerFragment inside a recycler view which is in a Fragment

I have an activity which has 2 or 3 fragments in one of those fragments i want to show Youtube video inside a recycler view what i have tried is 1. when i try to access YouTubePlayerFragment which is in recyclerview item layout i got this error…
0
votes
0 answers

I want a YouTube search result display activity and when any video clicked, play it in different YouTubePlayer

I am trying to show direct search result activity to webWiew private YouTubePlayerView youTubeView; youtubeVideoUrl = "https://m.youtube.com/results?q="+urlQuery; but activity displays black page. I want to whenever somebody click any video…
-2
votes
2 answers

Get rid of domain ban for youtube iframe

Somehow we managed to get a domain ban for iframe embeds of youtube videos - and find NO WAY to get it lifted! The error is this: "debug_error": "{"errorCode":"auth","errorDetail":"0","errorMessage":"Video nicht verfügbar","Ak":"Dieses Video darf…
PapuaQ
  • 23
  • 2
-5
votes
1 answer

Want to convert this jQuery code to vanilla JavaScript

Can anyone help me with this code? I want to convert this jQuery code to vanilla Javascript, but I am not well familiar with Javascript, so I am stuck. Here is my code: $('.video-card a').each(function() { var data =…
1 2 3 4 5
6