ytPlayer icon indicating copy to clipboard operation
ytPlayer copied to clipboard

Content is null on IOS

Open cicciopage opened this issue 10 years ago • 1 comments

Hi, your widget has always worked in my project, but in the last week the videos have not been played anymore (Only on iOS, on Android they work). The response json doesn't include the "content" attribute and so var isHighQuality = response.content['player_data']['fmt_stream_map'] != null; var streamUrl = isHighQuality ? response.content['player_data']['fmt_stream_map'][0].url : ''; give me back an undefined error. Youtube may be changed some policy? Thanks for your help, your work is great!

Example request: http://m.youtube.com/watch?ajax=1&layout=mobile&tsp=1&utcoffset=330&v=_fWSx10SHlA

cicciopage avatar Aug 22 '14 15:08 cicciopage

Did it work with you? I have the same issue...

zabady avatar Feb 09 '15 12:02 zabady