Skip to content

Commit

Permalink
Merge pull request #49 from hassankhan/patch-1
Browse files Browse the repository at this point in the history
Update youtube.js
  • Loading branch information
2fdevs committed Dec 30, 2015
2 parents 1b74fb3 + 3227c5d commit 17bd4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ angular.module("info.vietnamcode.nampnq.videogular.plugins.youtube", [])

function initYoutubePlayer(url) {
if (ytplayer) {
ytplayer.loadVideoById({
ytplayer.cueVideoById({
videoId: getYoutubeId(url)
});
} else {
Expand Down

0 comments on commit 17bd4b5

Please sign in to comment.