Skip to content

Instantly share code, notes, and snippets.

@dannyvassallo
Last active August 28, 2015 20:51
Show Gist options
  • Save dannyvassallo/4bb1eeccbdec18d3de9b to your computer and use it in GitHub Desktop.
Save dannyvassallo/4bb1eeccbdec18d3de9b to your computer and use it in GitHub Desktop.

To change the video, look within the index.html.

You should see a HUGE block of code with comments around it like this:

				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- *************************** v CHANGE THE EMBED URL HERE v ********************************** -->
				<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/iJppPaFfWM0?rel=0"></iframe>
				<!-- *************************** ^ CHANGE THE EMBED URL HERE ^ ********************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->
				<!-- ******************************************************************************************** -->	

To change the video, grab a youtube embed and switch this part https://www.youtube.com/embed/iJppPaFfWM0?rel=0 with the iframe url for the new video.

For example, if this is the video embed:

<iframe width="560" height="315" src="https://www.youtube.com/embed/7XrTEjwpAjU?rel=0" frameborder="0" allowfullscreen></iframe>

You would pull this https://www.youtube.com/embed/7XrTEjwpAjU?rel=0 and replace the existing one in the block.

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