Commit 4ef75c25 authored by Porter Libby's avatar Porter Libby
Browse files

fix video urls

parent 9a364105
......@@ -182,7 +182,7 @@
<label for="4">Center for Social Justice</label>
</form>
</div>
<iframe style='' width="560" height="315" src="https://www.youtube.com/embed/vjsbZiBVFRM"
<iframe id='block-2-frame' allow_embedding=true width="560" height="315" src="https://www.youtube.com/embed/vjsbZiBVFRM"
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope;
picture-in-picture" allowfullscreen></iframe>
</div>
......
......@@ -9,7 +9,6 @@
// result in something breaking, so avoid when possible.
// "key" : "value",
var dictionary = {
"first_year_advising": "This is placeholder information for the FIRST YEAR ADVISING block.",
"career_exploration": "This is placeholder information for the CAREER EXPLORATION block.",
......@@ -17,19 +16,19 @@ var dictionary = {
"passion project": {
'entrepreneurship_innovation' : [
"The Center for Entrepreneurship and Innovation helps students connect business to the social good. Join the EPIC Grand Challenge, where you’ll build a plan to impact 25,000 people in the Richmond area in the areas of neighborhood development, employability, and community development. Or get involved with our campus chapter of Net Impact, a student organization that serves as a leadership accelerator for future changemakers.",
"https://www.youtube.com/watch?v=OFXvx_QAbX4&feature=youtu.be&list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
"https://www.youtube.com/embed/OFXvx_QAbX4?list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
],
'environmental_leadership' : [
"The Center for Environmental Leadership is for students interested in being outside, getting their hands dirty, or tackling environmental challenges on campus. Join the Student Sustainability Corps, learn about sustainable agriculture on Miller Farm, or take trips into nature and gain invaluable leadership skills through Outdoor Education.",
"https://www.youtube.com/watch?v=OFXvx_QAbX4&feature=youtu.be&list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
"https://www.youtube.com/embed/OFXvx_QAbX4?list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
],
'global_health' : [
"The Center for Global Health is for students interested in health careers. Get hands-on experience in the healthcare field through the CGH health externship program, study public health issues in the Dominican Republic alongside your faculty, and join our campus chapter of HOSA (Health Occupations Students of America).",
"https://www.youtube.com/watch?v=a4vlCzImZVs&feature=youtu.be&list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
"https://www.youtube.com/embed/a4vlCzImZVs?list=PLLskAD3RU43XcMiIvtAEOnTHh0Zdp33N1"
],
'social_justice' : [
"The Center for Social Justice is for students interested in activism and advocacy. Apply for the Earlham Peace Prize, which provides students with $10,000 to do a peace project anywhere in the world, or participate in Spring Lobby Weekend in Washington, D.C., where you’ll advocate for social justice with our federal lawmakers.",
"https://www.youtube.com/watch?v=oYhn3XP1NmA&feature=youtu.be"
"https://www.youtube.com/embed/oYhn3XP1NmA"
]
},
"campus_life": [
......
function section_two(val){ // load info for section two based on value
var desc = dictionary["passion project"][val][0];
var video = dictionary["passion project"][val][1];
document.getElementById('block-2-frame').src = video;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment