Skip to content

Final Submission for BackBone Youtube Project#101

Open
JBStover wants to merge 4 commits into
projectshft:masterfrom
JBStover:master
Open

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

Conversation

@JBStover

Copy link
Copy Markdown

No description provided.

@elbaumpj elbaumpj left a comment

Copy link
Copy Markdown

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

Comment thread views/AppView.js
},

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

Copy link
Copy Markdown

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

Comment thread views/MainVideoView.js

});

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove

Comment thread models/VideoModel.js
}
},


Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove spaces

Comment thread models/AppModel.js
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

Copy link
Copy Markdown

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




Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove spaces

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

Copy link
Copy Markdown

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