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!
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