Skip to content

Final Submission for BackBone Youtube Project#101

Open
JBStover wants to merge 4 commits intoprojectshft:masterfrom
JBStover:master
Open

Final Submission for BackBone Youtube Project#101
JBStover wants to merge 4 commits intoprojectshft:masterfrom
JBStover:master

Conversation

@JBStover
Copy link

No description provided.

Copy link

@elbaumpj elbaumpj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work! mostly just a few stylistic things

},

initialRender: function () {
this.model.setCurrentVideo(1);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a zero, I'm getting the second video on initial render


});

// <iframe width="500" height="315" src="https://www.youtube.com/embed/{{ videoId }}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

}
},


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove spaces

Comment on lines +31 to +34
//API key =

//Sample request URL = https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=SEARCH_TERM_HERE&type=video&videoEmbeddable=true&key=AIzaSyCzOpDEiGvKbh687SDR3qDRwKWsbnqKCDU
//<iframe width="560" height="315" src="https://www.youtube.com/embed/ {{ id }}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

Comment on lines +30 to +33




Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove spaces

Comment on lines +23 to +26
console.log('Thumbnail clicked');
console.log(clickedVideoId);
this.model.updateCurrentVideo(clickedVideoId);
console.log(this.model.get('current_video'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove console logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants