youmax icon indicating copy to clipboard operation
youmax copied to clipboard

Please migrate to youtube data api v3

Open cingh-jasdeep opened this issue 9 years ago • 6 comments

Please migrate to youtube data api v3

cingh-jasdeep avatar Apr 01 '15 06:04 cingh-jasdeep

Yes, we already have a plan to upgrade the free version to v3 API. However, this will take some time, about a month :)

Meanwhile, I would like to suggest you to try out the premium version of Youmax - already has API v3 with some more awesome features. http://codecanyon.net/item/youmax-youtube-channel-on-your-website/9989505

codehandling avatar Apr 01 '15 06:04 codehandling

Hey Any updates ? Thanks :)

cingh-jasdeep avatar May 01 '15 03:05 cingh-jasdeep

Yes the updated version should be out by Monday :)

codehandling avatar May 02 '15 04:05 codehandling

Thanks for the update!

A couple of issues that I have notice in the update

  • Automatic height resize of video thumbnails (like 2.0 version) (your commented code seems to fix it)
  • Default Tab for Playlists and Uploads doesn't work

cingh-jasdeep avatar May 05 '15 03:05 cingh-jasdeep

  1. Default Tab works now - Fixed with an update.
  2. Automatic height resize of video thumbnails - can you please show me where and how this was happening and which commented code is fixing it.

codehandling avatar May 07 '15 11:05 codehandling

Hey Thanks for the update. Your commented code is here: Line 310:

//not sure why this is needed
var youmaxTnailWidth = $('.youmax-video-tnail').css('width');
youmaxTnailWidth=youmaxTnailWidth.substring(0,youmaxTnailWidth.indexOf("px"));
var youmaxTnailHeight = youmaxTnailWidth/youmax_global_options.youtubeMqdefaultAspectRatio; 
$('div.youmax-video-tnail').css({'height':youmaxTnailHeight+'px'});

Line 399:

// not sure why this is needed
var youmaxTnailWidth = $('.youmax-video-tnail').css('width');
youmaxTnailWidth=youmaxTnailWidth.substring(0,youmaxTnailWidth.indexOf("px"));
var youmaxTnailHeight = youmaxTnailWidth/youmax_global_options.youtubeMqdefaultAspectRatio;
$('div.youmax-video-tnail').css({'height':youmaxTnailHeight+'px'});

cingh-jasdeep avatar May 08 '15 04:05 cingh-jasdeep