commit 785f8e20c88f5d15119ad78c67d1887c94de2421 Author: Evert Prants Date: Mon May 8 13:35:34 2023 +0300 archive mlp-episodes in git diff --git a/404.html b/404.html new file mode 100644 index 0000000..f1b1cb3 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404 diff --git a/MissingResponse.html b/MissingResponse.html new file mode 100644 index 0000000..4952f0d --- /dev/null +++ b/MissingResponse.html @@ -0,0 +1,75 @@ + + + + Missing Episode! + + + +

Episode Missing!

+

Unfortunately, it looks like the episode that you are trying to watch is currently unavailable due to copyright takedowns. Luckily, you can still watch this episode, but you'll have to download it from another source, such as YayPonies. Here's some links to start your search:

+ +
+ +
+ + If you have found a working mirror hosted on DailyMotion, or are willing to host the video yourself, please contact evert@lunasqu.ee to have your video added. + + + diff --git a/cinema.html b/cinema.html new file mode 100644 index 0000000..d66fb23 --- /dev/null +++ b/cinema.html @@ -0,0 +1,87 @@ + + + + + MLP-Episodes - Cinema + + + + + + + + + +
+  CINEMA +
+
+ You're currently watching + The Brony Network +
+
+
+
+
+
+ +
+
+
+ Change stream:   + + Created by LunaSquee +
+ + + diff --git a/css/CelestiaMediumRedux.ttf b/css/CelestiaMediumRedux.ttf new file mode 100644 index 0000000..4745164 Binary files /dev/null and b/css/CelestiaMediumRedux.ttf differ diff --git a/css/cinema.css b/css/cinema.css new file mode 100644 index 0000000..dd23871 --- /dev/null +++ b/css/cinema.css @@ -0,0 +1,162 @@ +body{ + background-color: black; + color: white; + padding: 0; + margin: 0; + font-family:"Open Sans",Helvetica,Tahoma,Arial,sans-serif; +} +img{ + border: none; +} +/*/ SELECTION COLOR /*/ +::-moz-selection { + background-color: #FFBAD2; + color: #FFF; +} +::selection { + background-color: #FFBAD2; + color: #FFF; +} +/*/ CUSTOM SCROLLBAR /*/ +::-webkit-scrollbar { + width: 12px; +} +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + background: rgba(122,228,255,0.4); +} +::-webkit-scrollbar-thumb { + border-radius: 10px; + -webkit-box-shadow: inset 0 0 6px rgba(0,204,255,0.5); + background: rgba(0,204,255,0.4); +} +::-webkit-scrollbar-corner{ + background: rgba(0,204,255,0.4); +} +/* FONT */ +@font-face{ + font-family: Equestria; + src: url('CelestiaMediumRedux.ttf'); +} +/*/ CONTAINERS /*/ +.headcontain{ + position: absolute; + top: 0; + left: 0; + right: 0; + height: 40px; + background-color: #383838; + padding: 5px; +} +#headlogo{ + height: 40px; + float: left; +} +#cdcontainer{ + display: inline-block; + float: right; + font-family: Equestria; +} +#hidebtn{ + float: right; + display: inline-block; + clear: right; + color: #AFAFAF; + text-decoration: none; +} +#hidebtn:hover{ + text-decoration: underline; +} +.headmessage{ + font-family: Equestria; + color: orange; + font-weight: bold; +} +.mastercontain{ + position: absolute; + top: 50px; + bottom: 50px; + left: 0; + right: 0; + overflow: hidden; +} +.mastercontain .stream{ + position: absolute; + left: 0; + top: 0; + right: 500px; + transition: all 0.2s linear; + -webkit-transition: all 0.2s linear; + -moz-transition: all 0.2s linear; + bottom: 0; + z-index: 5; +} +.mastercontain .stream iframe{ + border: 0px none transparent; + z-index: 6; + width: 100%; + height: 100%; + border: none; +} +.mastercontain .chat{ + position: absolute; + z-index: 3; + right: 0; + top: 0; + bottom: 0; + width: 500px; +} +.mastercontain .chat iframe{ + width: 100%; + height: 100%; + border: none; +} +.footercontain{ + height: 40px; + position: absolute; + bottom: 0; + left: 0; + right: 0; + background-color: #383838; + padding: 5px; +} +.buttons{ + font-family: Equestria; + display: inline-block; + float: left; +} +.gobutton { + height: 40px; + display: inline-block; + float: left; + color: #fff; + padding: 0 10px; + line-height: 40px; + text-decoration: none; + transition: background-color 0.1s linear; + -webkit-transition: background-color 0.1s linear; + -moz-transition: background-color 0.1s linear; +} +.gobutton.selected, .gobutton:hover { + background-color: #464646; +} +.currentstream{ + position: absolute; + left: 50%; + top: 2px; + text-align: center; + font-family: Equestria; +} +.currentstream div{ + position: relative; + right: 50%; +} +.currentstream .toprow{ + float: left; +} +.currentstream #streamerlink{ + clear: both; + float: left; + width: 100%; + color: white; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..524255d --- /dev/null +++ b/css/style.css @@ -0,0 +1,632 @@ +/*//--> Main Stylesheet <--//*/ + +/*/ BODY /*/ +body{ + margin:0px; + padding:0px; + font-family:Helvetica,Tahoma,Arial,sans-serif; + background-color:#F8F8F8; + color:#333;height:100%; + background-image: url('../images/wallpaper/ponyville_day.png'); + background-position: top, left; + background-size:cover; + background-attachment: fixed; + background-repeat:no-repeat; +} +img{ + border-style: none; +} +h1,h2,h3,h4,h5{ + margin-top:0px; + padding-top:0px; + text-shadow:1px 1px 4px #DDD; +} +.night{ + background-image: url('../images/wallpaper/ponyville_night.png'); +} +/*/ SELECTION COLOR /*/ +::-moz-selection { + background-color: #FFBAD2; + color: #FFF; +} +::selection { + background-color: #FFBAD2; + color: #FFF; +} +/*/ CUSTOM SCROLLBAR /*/ +::-webkit-scrollbar { + width: 12px; +} +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + background: rgba(122,228,255,0.4); +} +::-webkit-scrollbar-thumb { + border-radius: 10px; + -webkit-box-shadow: inset 0 0 6px rgba(0,204,255,0.5); + background: rgba(0,204,255,0.4); +} +::-webkit-scrollbar-corner{ + background: rgba(0,204,255,0.4); +} +/* FONT */ +@font-face{ + font-family: Equestria; + src: url('CelestiaMediumRedux.ttf'); +} +/*/ LINKS/TEXT /*/ +.link{ + text-decoration:none; + color:#3177CE; + cursor:pointer; +} +#question{ + color:red; + cursor:help; +} +.gobutton{ + color: #FFF; + padding: 2px; + position: relative; + top: -3px; + border-radius: 0px 0px 5px 5px; + background-color: #1a82f7; + background-repeat: repeat-x; + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#009CF3)); + background: -webkit-linear-gradient(top, #009CF3, #1a82f7); + background: -moz-linear-gradient(top, #009CF3, #1a82f7); + background: -ms-linear-gradient(top, #009CF3, #1a82f7); + background: -o-linear-gradient(top, #009CF3, #1a82f7); + -webkit-transition: padding linear 0.1s,color linear 0.1s; + -moz-transition: padding linear 0.1s,color linear 0.1s; + -ms-transition: padding linear 0.1s,color linear 0.1s; + -o-transition: padding linear 0.1s,color linear 0.1s; + transition: padding linear 0.1s,color linear 0.1s; +} +.gobutton:hover{ + padding-bottom: 5px; + color: rgb(80, 255, 192); +} +.gobutton_red{ + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff0000), to(#cc0000)); + background: -webkit-linear-gradient(top, #cc0000, #ff0000); + background: -moz-linear-gradient(top, #cc0000, #ff0000); + background: -ms-linear-gradient(top, #cc0000, #ff0000); + background: -o-linear-gradient(top, #cc0000, #ff0000); +} +.gobutton_black{ + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#505050), to(#0C0C0C)); + background: -webkit-linear-gradient(top, #0C0C0C, #505050); + background: -moz-linear-gradient(top, #0C0C0C, #505050); + background: -ms-linear-gradient(top, #0C0C0C, #505050); + background: -o-linear-gradient(top, #0C0C0C, #505050); +} +.mlpepisode{ + font-family: Equestria; + color:rgb(238, 61, 150); + font-size:20px; + -webkit-transition: padding linear 0.1s,color linear 0.1s; + -moz-transition:padding linear 0.1s,color linear 0.1s; + -ms-transition:padding linear 0.1s,color linear 0.1s; + -o-transition:padding linear 0.1s,color linear 0.1s; + transition:padding linear 0.1s,color linear 0.1s; +} +.mlpepisode_new{ + color:rgb(50, 72, 235); + font-size:20px; + cursor:not-allowed; +} +.mlpepisode_new:hover{ + color:rgb(36, 53, 187) !important; +} +.mlpepisode:hover{ + color:rgb(218, 33, 126); + padding:2px; +} +.link:hover{ + text-decoration:underline; +} +.butto,button,input[type=submit]{ + display:inline-block; + background-color:#F4F4F4; + min-width:55px; + height:25px; + line-height:25px; + font-weight:bold; + font-size:12px; + padding:0px 10px 0px 10px; + text-align:center; + border-radius:5px; + margin-top:5px; + color:#333; + border:1px solid silver; + -webkit-transition:border linear 0.1s,box-shadow linear 0.1s; + -moz-transition:border linear 0.1s,box-shadow linear 0.1s; + -ms-transition:border linear 0.1s,box-shadow linear 0.1s; + -o-transition:border linear 0.1s,box-shadow linear 0.1s; + transition:border linear 0.1s,box-shadow linear 0.1s; + -webkit-box-shadow:none; + -moz-box-shadow:none; + box-shadow:none; + font-family:'Droid Sans',"Helvetica Neue",Helvetica,Arial,sans-serif; + background:linear-gradient(to bottom,rgb(255, 255, 255) 0%,rgb(238, 238, 238) 100%); +} +a .butto{ + color: #333; +} +.butto:hover,input[type=submit]:hover,button:hover{ + cursor:pointer; + color:#111; + text-decoration:none; + background-color:#F6F6F6; + border:1px solid gray; + box-shadow:0 1px 3px rgba(0,0,0,0.1); +} +.butto:active,input[type=submit]:active,button:active{ + -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); + -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); + box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); +} +.butto:disabled{ + background-color:#E0E0E0; + color:#777; +} +input,textarea{ + -webkit-transition:border linear 0.1s,box-shadow linear 0.1s; + -moz-transition:border linear 0.1s,box-shadow linear 0.1s; + -ms-transition:border linear 0.1s,box-shadow linear 0.1s; + -o-transition:border linear 0.1s,box-shadow linear 0.1s; + transition:border linear 0.1s,box-shadow linear 0.1s; + -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); + -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); + box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); + padding:5px; + border-radius:2px; + border:1px solid rgb(235, 235, 235); + font-family:'Droid Sans',"Helvetica Neue",Helvetica,Arial,sans-serif; +} +input:focus,textarea:focus{ + outline:0; + border-color:rgba(82,168,236,0.8); + -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6); + -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6); + box-shadow:inset 0 1px 3px rgba(0,0,0,0.1),0 0 8px rgba(82,168,236,0.6); +} +label{ + width:200px; + display:inline-block; + vertical-align:top; + text-align:left; +} +.error{ + color:#ff0000 +} +.med{ + font-size:20px; +} +.mlptext{ + font-family: Equestria; +} +a{ + text-decoration:none; + color:#225985; +} +a:hover{ + color:rgb(238, 61, 150); +} +.adoverhead{ + border: 1px solid #1eb9ff; + padding: 10px; + background-color: #75d4ff; + font-family: Equestria; +} +.mlpcolor{ + color:rgb(238, 61, 150); +} +.title{ + margin-left:20px; +} +.btn:hover, .btn:active { + border-color: #bbb; + background-color: #f8f8f8; + background-image: -webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#d9d9d9)); + background-image: -moz-linear-gradient(top,#f8f8f8,#d9d9d9); + background-image: -o-linear-gradient(top,#f8f8f8,#d9d9d9); + background-image: -ms-linear-gradient(top,#f8f8f8,#d9d9d9); + background-image: linear-gradient(top,#f8f8f8,#d9d9d9); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.btn{ + position: relative; + background-color: #f8f8f8; + background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede)); + background-image: -moz-linear-gradient(top,#fff,#dedede); + background-image: -o-linear-gradient(top,#fff,#dedede); + background-image: -ms-linear-gradient(top,#fff,#dedede); + background-image: linear-gradient(top,#fff,#dedede); + border: #ccc solid 1px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + color: #333; + font-weight: 700; + text-shadow: 0 1px 0 rgba(255,255,255,.5); + -webkit-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; + cursor: pointer; + height: 18px; + max-width: 98%; + overflow: hidden; + font-size: 3.50mm; +} +/*/ CONTAINERS /*/ +.content { + width: 970px; + margin-left: auto; + margin-right: auto; + padding: 15px; + height: auto; + min-height:700px; + margin: auto; + background-color: rgba(81, 220, 255, 0.82); + -webkit-box-shadow: 0 5px 20px #333; + -moz-box-shadow: 0 5px 20px #333; + box-shadow: 0 5px 20px #333; + z-index:5; +} +.head{ + width: 970px; + margin-left: auto; + margin-right: auto; + padding: 15px; + height: auto; + margin-bottom:19px; +} +header { + display: block; + text-align: center; +} +footer{ + width: 970px; + margin-left: auto; + margin-right: auto; + padding: 15px; + height: auto; + background-color: rgba(81, 220, 255, 0.82); + -webkit-box-shadow: 0 5px 20px #333; + -moz-box-shadow: 0 5px 20px #333; + box-shadow: 0 5px 20px #333; + margin:auto; + margin-top:5px; + margin-bottom:5px; + text-align:center; +} +/*/ OTHER OBJECTS /*/ +#social { + position: fixed; + bottom: 0; + left: 0; + background-color: rgba(0, 188, 212, 0.31); + padding-top: 3px; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 2px; + border-top: 2px solid #0076AB; + border-right: 2px solid #008CCC; + max-height: 40px; + max-width: 500px; +} +#back-top { + position: fixed; + bottom: 30px; + right: 30px; + margin-left: 0px; + text-decoration: none; + text-align: center; + font-size: 18px; + display: block; + -webkit-transition: 1s ease; + -moz-transition: 1s ease; + -o-transition: 1s ease; + transition: 1s ease; + cursor: pointer; + width:40px; + height:40px; +} +#rmenu.hide { + display: none; +} +#rmenu { + display: block; + position: absolute; + list-style: outside none none; + margin: 0px; + padding: 0px; + background-color: #FFF; + border: 1px solid #C9CCCF; + color: #783300; + font-size: 25px; + border-radius: 10px 10px 0 0; + text-align: center; +} +#rmenu li:first-child{ + border-bottom: 1px solid #C9CCCF; +} +#rmenu li { + padding: 0 10px; +} +/*/ SEASON COUNTDOWN CLOCK /*/ +#cdcontainer{ + text-align: center; +} +.countdown_section{ + font-family: Equestria; + color:rgb(238, 61, 150); + font-weight: bold; + font-size: 20px; + margin: 0 5px; +} +.countdown_section_number{ + font-family: Equestria; + font-size: 30px; +} +.countdown_textsection{ + color:rgb(238, 61, 150); + font-family: Equestria; + font-size: 25px; +} +/*/ SLIDE.JS /*/ +#slides { + display: none; +} +#slides .slidesjs-navigation { + margin-top:5px; +} +.slidesjs-control, .slidesjs-container{ + height: 100px !important; + width: 700px !important; +} +a.slidesjs-next, +a.slidesjs-previous, +a.slidesjs-play, +a.slidesjs-stop { + background-image: url(../images/btns-next-prev.png); + background-repeat: no-repeat; + display:block; + width:12px; + height:18px; + overflow: hidden; + text-indent: -9999px; + float: left; + margin-right:5px; +} +a.slidesjs-next { + margin-right:10px; + background-position: -12px 0; +} +a:hover.slidesjs-next { + background-position: -12px -18px; +} +a.slidesjs-previous { + background-position: 0 0; +} +a:hover.slidesjs-previous { + background-position: 0 -18px; +} +a.slidesjs-play { + width:15px; + background-position: -25px 0; +} +a:hover.slidesjs-play { + background-position: -25px -18px; +} +a.slidesjs-stop { + width:18px; + background-position: -41px 0; +} +a:hover.slidesjs-stop { + background-position: -41px -18px; +} +.slidesjs-pagination { + margin: 7px 0 0; + float: right; + list-style: none; +} +.slidesjs-pagination li { + float: left; + margin: 0 1px; +} +.slidesjs-pagination li a { + display: block; + width: 13px; + height: 0; + padding-top: 13px; + background-image: url(/images/pagination.png); + background-position: 0 0; + float: left; + overflow: hidden; +} +.slidesjs-pagination li a.active, +.slidesjs-pagination li a:hover.active { + background-position: 0 -13px; +} +.slidesjs-pagination li a:hover { + background-position: 0 -26px; +} +#slides a:link, +#slides a:visited { + color: #333; +} +#slides a:hover, +#slides a:active { + color: #9e2020; +} +.navbar { + overflow: hidden; +} +.container { + margin: 0 auto; +} +/*/ NAVIGATION BAR /*/ +.navigation{ + width: 970px; + margin-left: auto; + margin-right: auto; + height: 40px; + text-align: center; + margin-bottom: 5px; + z-index:5; +} +.navigation ul{ + display: inline-block; + list-style-type: none; + padding: initial; +} +.navigation ul li{ + display: inline-block; +} +.navigation ul li a{ + padding: 5px; + background-color: rgba(81, 220, 255, 0.82); + border-bottom: 3px solid red; + border-radius: 5px 5px 0 0; + margin: 0 4px 0 4px; + font-family: Equestria; + color: rgb(0, 41, 255); +} +.navigation ul li a:hover, .navigation ul li .active{ + color: rgb(36, 0, 223); + background-color: rgba(0, 204, 255, 0.82); +} +/*/ SEARCH BAR /*/ +.searchelement{ + width: 200px; + height: auto; + position: absolute; +} +.searchelement input{ + width: 200px; + border-bottom: none; +} +.searchelement .results{ + width: 210px; + display: block; + margin: 0; + list-style: none; + max-height: 200px; + overflow: auto; + border: 1px solid #EBEBEB; + padding: 0; + border-top: none; + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; +} +.searchelement .results li:nth-child(even) {background: #CCC} +.searchelement .results li:nth-child(odd) {background: #FFF} +.searchelement .results li{ + padding: 5px; +} +/*/ New popup /*/ +.vidplayerpopup { + position: fixed; + background-color: rgba(0, 0, 0, 0.45); + z-index: 9001; + top: 0; + bottom: 0; + left: 0; + right: 0; +} +.vidplayerpopup .inner-cont { + width: 940px; + height: 560px; + margin: auto; + margin-top: 100px; + position: relative; + background-color: #EAEAEA; + padding: 5px; +} +.inner-cont .video{ + width: 100%; + height: 96%; + background-color: black; +} +.episodetitle { + font-size: 40px; + width: 100%; + display: block; + position: absolute; + top: -55px; + color: #fff; +} +.vidclose { + position: absolute; + height: 50px; + width: 50px; + top: -30px; + right: -18px; + font-size: 24px; + color: red; + cursor: pointer; +} +.controlButton { + padding: 5px; + color: #fff; + background-color: green; + margin: 0; + cursor: pointer; +} +.controlButton:hover{ + background-color: #006D00; +} +.epSwitch { + height: 40px; + display: inline-block; + padding: 5px 12px; + line-height: 1.4; +} +.epSwitch span { + font-size: 30px; +} +.share { + width: 40px; + height: 40px; + display: inline-block; + line-height: 3.3; +} +.share.sFacebook, .share.sTwitter { + background-color: #2196F3; +} +.share.sFacebook:hover, .share.sTwitter:hover { + background-color: #0081E8; +} +.share.sClipboard { + background-color: #00BCD4; +} +.share.sClipboard:hover { + background-color: #009FB3; +} +.share.sBugReport { + background-color: #ff0000; +} +.share.sBugReport:hover { + background-color: #ff1818; + color: #fff; +} +.controls { + position: absolute; + width: 940px; + bottom: -30px; +} +.share_buttons { + display: inline-block; + float: left; +} +.episode_buttons { + display: inline-block; + float: right; +} +/*/--> Written by: LunaSquee(Evert) http://mlp-episodes.tk/css/style.css <--/*/ diff --git a/css/tutorials.css b/css/tutorials.css new file mode 100644 index 0000000..83c8827 --- /dev/null +++ b/css/tutorials.css @@ -0,0 +1,45 @@ +/* + * Tutorial page CSS +*/ +body{ + font-family: Open Sans, Everson Mono, Helvetica; + background-color: #C9F5FF; + margin: 0; + padding: 0; + background: #7abcff; + background: -moz-linear-gradient(top, #7abcff 0%, #4096ee 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7abcff), color-stop(100%,#4096ee)); + background: -webkit-linear-gradient(top, #7abcff 0%,#4096ee 100%); + background: -o-linear-gradient(top, #7abcff 0%,#4096ee 100%); + background: -ms-linear-gradient(top, #7abcff 0%,#4096ee 100%); + background: linear-gradient(to bottom, #7abcff 0%,#4096ee 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); +} +h1,h2,h3,h4,h5{ + margin-top:0px; + padding-top:0px; +} +.containment{ + width: 1200px; + background-color: #E3E3E3; + padding: 10px; + margin: 0 auto; + border-left: 1px solid #B3B3B3; + border-right: 1px solid #B3B3B3; + -webkit-box-shadow: 0 5px 20px #333; + -moz-box-shadow: 0 5px 20px #333; + box-shadow: 0 5px 20px #333; + min-height: 700px; +} +.codeblock{ + padding: 5px; + background-color: #D5D5D5; + display: inline-block; + clear: both; + font-family: monospace; + font-size: 16px; + margin-bottom: 10px; +} +img{ + border: none; +} \ No newline at end of file diff --git a/icynet/Discord-Logo-White.svg b/icynet/Discord-Logo-White.svg new file mode 100644 index 0000000..4613aa9 --- /dev/null +++ b/icynet/Discord-Logo-White.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icynet/footer.css b/icynet/footer.css new file mode 100644 index 0000000..e1aa2fd --- /dev/null +++ b/icynet/footer.css @@ -0,0 +1,93 @@ +footer.icy { + padding: 20px; + background: #e9f6fd; + background: -moz-linear-gradient(top, #e9f6fd 0%, #d3eefb 100%); + background: -webkit-linear-gradient(top, #e9f6fd 0%, #d3eefb 100%); + background: linear-gradient(to bottom, #e9f6fd 0%, #d3eefb 100%); + border-top: 1px solid #ddd; + text-align: center; + width: initial; + margin-bottom: 0; +} +footer.icy .copyright { + display: inline-block; + text-align: center; + font-size: 90%; + vertical-align: top; + margin-top: 35px; + padding: 15px; + margin-left: 5vw; +} +footer.icy .squeebot { + width: 200px; +} +footer.icy .logo { + font-family: "Open Sans"; + font-weight: bold; + text-transform: uppercase; + text-shadow: 2px 2px 1px #007104; + color: #00b300; + letter-spacing: 5px; + user-select: none; + font-size: 30px; + text-align: inherit; + cursor: pointer; + display: inline-block; +} +footer.icy .logo .part1, +footer.icy .logo .part2 { + display: inline-block; +} +footer.icy .logo .part1 { + color: #03a9f4; + text-shadow: 2px 2px 1px #0059a0; + margin-right: 5px; +} +footer .socialbtn { + width: 28px; + height: 28px; + display: inline-block; + line-height: 28px; + color: #fff; + font-size: 160%; + border-radius: 100px; + padding: 2px; + margin: 5px; +} +footer .socialbtn#github { + background-color: #000; +} +footer .socialbtn#twitter { + background-color: #03a9f4; +} +footer .socialbtn#discord { + background-color: #2c2f33; +} +footer .socialbtn#discord .discordlogo { + position: relative; + top: 3px; + background: url("/icynet/Discord-Logo-White.svg"); + width: 22px; + height: 22px; + display: inline-block; +} +footer .socialbtn i { + position: relative; + right: 1px; +} +footer span.divider { + color: #ddd; + margin: 0 5px; + cursor: default; +} +@media all and (max-width: 800px) { + footer.icy .squeebot { + margin: 0; + width: 150px; + margin: auto; + display: block; + } + footer.icy .copyright { + margin-left: 0; + } +} diff --git a/icynet/squeebot.svg b/icynet/squeebot.svg new file mode 100644 index 0000000..2beb9e1 --- /dev/null +++ b/icynet/squeebot.svg @@ -0,0 +1,703 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/HTML5.png b/images/HTML5.png new file mode 100644 index 0000000..42e1091 Binary files /dev/null and b/images/HTML5.png differ diff --git a/images/ajax_loader.gif b/images/ajax_loader.gif new file mode 100644 index 0000000..1fe22da Binary files /dev/null and b/images/ajax_loader.gif differ diff --git a/images/btns-next-prev.png b/images/btns-next-prev.png new file mode 100644 index 0000000..a65b0de Binary files /dev/null and b/images/btns-next-prev.png differ diff --git a/images/clouds.png b/images/clouds.png new file mode 100644 index 0000000..7eaf017 Binary files /dev/null and b/images/clouds.png differ diff --git a/images/exit.png b/images/exit.png new file mode 100644 index 0000000..5cf4ba2 Binary files /dev/null and b/images/exit.png differ diff --git a/images/favico.png b/images/favico.png new file mode 100644 index 0000000..cb310d2 Binary files /dev/null and b/images/favico.png differ diff --git a/images/fb-small.png b/images/fb-small.png new file mode 100644 index 0000000..1de20ba Binary files /dev/null and b/images/fb-small.png differ diff --git a/images/leftarrow.png b/images/leftarrow.png new file mode 100644 index 0000000..fe45498 Binary files /dev/null and b/images/leftarrow.png differ diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..cea699c Binary files /dev/null and b/images/logo.png differ diff --git a/images/logocompressed.png b/images/logocompressed.png new file mode 100644 index 0000000..f490bd8 Binary files /dev/null and b/images/logocompressed.png differ diff --git a/images/mc-banner.png b/images/mc-banner.png new file mode 100644 index 0000000..2490da5 Binary files /dev/null and b/images/mc-banner.png differ diff --git a/images/pagination.png b/images/pagination.png new file mode 100644 index 0000000..1039c23 Binary files /dev/null and b/images/pagination.png differ diff --git a/images/pr-banner.png b/images/pr-banner.png new file mode 100644 index 0000000..fddcdea Binary files /dev/null and b/images/pr-banner.png differ diff --git a/images/rightarrow.png b/images/rightarrow.png new file mode 100644 index 0000000..815d7f8 Binary files /dev/null and b/images/rightarrow.png differ diff --git a/images/search.png b/images/search.png new file mode 100644 index 0000000..c766d0a Binary files /dev/null and b/images/search.png differ diff --git a/images/share.png b/images/share.png new file mode 100644 index 0000000..3e49e3e Binary files /dev/null and b/images/share.png differ diff --git a/images/twitter-bird.png b/images/twitter-bird.png new file mode 100644 index 0000000..4a08e5b Binary files /dev/null and b/images/twitter-bird.png differ diff --git a/images/wallpaper/ponyville-snow.png b/images/wallpaper/ponyville-snow.png new file mode 100644 index 0000000..1be1a5e Binary files /dev/null and b/images/wallpaper/ponyville-snow.png differ diff --git a/images/wallpaper/ponyville-snow_night.png b/images/wallpaper/ponyville-snow_night.png new file mode 100644 index 0000000..ec49daa Binary files /dev/null and b/images/wallpaper/ponyville-snow_night.png differ diff --git a/images/wallpaper/ponyville_day.png b/images/wallpaper/ponyville_day.png new file mode 100644 index 0000000..12e1108 Binary files /dev/null and b/images/wallpaper/ponyville_day.png differ diff --git a/images/wallpaper/ponyville_night.png b/images/wallpaper/ponyville_night.png new file mode 100644 index 0000000..20d36a6 Binary files /dev/null and b/images/wallpaper/ponyville_night.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..a0e980b --- /dev/null +++ b/index.html @@ -0,0 +1,357 @@ + + + + MLP:FiM Episodes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + MLPE Logo + +
+ + + +
+ +
+ List of My Little Pony : Friendship is Magic Episodes!
+ Click on an episode to watch it! +
+
+
+
+
+
+
+
+
+ My Little Pony: The Movie
+ + We unfortunately cannot share the movie on our website due to it being a big copyright infringement and it would get taken down instantly. We highly recommend going to see it in your local cinema whenever you have the opportunity! Or, you know, you could use Google to find it online, either way. We're sorry about the inconvenience.
+

+
+
+ + + + The episodes that are written in BLUE have not been added to the website.
+ Need information on episodes and their air dates? Check out the My Little Pony Wikia!
+
+ + + + + + + +
+
+
+ + + +
+ diff --git a/info.php b/info.php new file mode 100644 index 0000000..cf60860 --- /dev/null +++ b/info.php @@ -0,0 +1,3 @@ + diff --git a/irc/colors.html b/irc/colors.html new file mode 100644 index 0000000..78aa3e4 --- /dev/null +++ b/irc/colors.html @@ -0,0 +1,181 @@ + + + + + + + IRC Formatting + + + + +
+

IRC Colors and Formatting codes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IndexColorRGBHEX
0White(255,255,255)#FFFFFF
1Black(0,0,0)#000000
2Blue(0,0,127)#00007F
3Green(0,147,0)#009300
4Red(255,0,0)#FF0000
5Brown(127,0,0)#7F0000
6Purple(156,0,156)#9C009C
7Orange(252,127,0)#FC7F00
8Yellow(255,255,0)#FFFF00
9Light Green(0,252,0)#00FC00
10Cyan(0,147,147)#009393
11Light Cyan(0,255,255)#00FFFF
12Light Blue(0,0,252)#0000FC
13Pink(255,0,255)#FF00FF
14Grey(127,127,127)#7F7F7F
15Light Grey(210,210,210)#D2D2D2
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CharacterNameNotes
\u0003xColorx - color code from left table
\u0002Bold
\u0016ItalicDeprecated in most clients
\u001FUnderline
\u000FResetResets formatting
+
+ + \ No newline at end of file diff --git a/irc/rules.html b/irc/rules.html new file mode 100644 index 0000000..d89a014 --- /dev/null +++ b/irc/rules.html @@ -0,0 +1,29 @@ + + + + + + + IRC Chat Rules + + + +
+

Rules of the #mlp-episodes IRC Channel

+
    +
  1. No spam of any kind
  2. +
  3. No linesplitting [ What is linesplitting? ]
  4. +
  5. No IRC bots (Squeebot is the only bot)
  6. +
  7. No ban evading
  8. +
  9. No spoilers
  10. +
  11. No NSFW images (18+ content)
  12. +
  13. Don't be annoying
  14. +
  15. Don't excessively change your nickname
  16. +
  17. Don't try to impersonate admins
  18. +
  19. NO DISCUSSING LEAKED MLP EPISODES!
  20. +
  21. Advertising your stuff is allowed, as long as you don't spam it
  22. +
+

Breaking these rules will get you banned FOREVER! (Warned with a kick beforehand)

+
+ + diff --git a/js/autoscroll.js b/js/autoscroll.js new file mode 100644 index 0000000..f1cf925 --- /dev/null +++ b/js/autoscroll.js @@ -0,0 +1,3 @@ +$(document).ready(function(){function filterPath(string){return string.replace(/^\//,'').replace(/(index|default).[a-zA-Z]{3,4}$/,'').replace(/\/$/,'');} +var locationPath=filterPath(location.pathname);var scrollElem=scrollableElement('html','body');$('a[href*=#]').each(function(){var thisPath=filterPath(this.pathname)||locationPath;if(locationPath==thisPath&&(location.hostname==this.hostname||!this.hostname)&&this.hash.replace(/#/,'')){var $target=$(this.hash),target=this.hash;if(target){var targetOffset=$target.offset().top;$(this).click(function(event){event.preventDefault();$(scrollElem).animate({scrollTop:targetOffset},400,function(){location.hash=target;});});}}});function scrollableElement(els){for(var i=0,argLength=arguments.length;i0){return el;}else{$scrollElement.scrollTop(1);var isScrollable=$scrollElement.scrollTop()>0;$scrollElement.scrollTop(0);if(isScrollable){return el;}}} +return[];}}); \ No newline at end of file diff --git a/js/episodes-generic.js b/js/episodes-generic.js new file mode 100644 index 0000000..fd55ab0 --- /dev/null +++ b/js/episodes-generic.js @@ -0,0 +1,1026 @@ +/* MLP-Episodes.tk - Written by LunaSquee - 2016 */ +function getUrlParameter(sParam) { + var sPageURL = window.location.search.substring(1); + var sURLVariables = sPageURL.split('&'); + for (var i = 0; i < sURLVariables.length; i++) { + var sParameterName = sURLVariables[i].split('='); + if (sParameterName[0] == sParam) { + return sParameterName[1]; + } + } +} + +console.log('%cStop!', "font-size:35px;color:red;") +console.log('%cHello, curious little foal c;', "font-size:25px;color:green;") + +/* ALL EPISODES */ +var episodes = [ + [ + { + "title": "Friendship is Magic - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3syjbp", + "placeholder": null + }, + { + "title": "Friendship is Magic - Part 2", + "dailymotion": "//www.dailymotion.com/video/xv3o78", + "placeholder": null + }, + { + "title": "The Ticket Master", + "dailymotion": "//www.dailymotion.com/video/x3thnjx", + "placeholder": null + }, + { + "title": "Applebuck Season", + "dailymotion": "//www.dailymotion.com/video/x3thnjy", + "placeholder": null + }, + { + "title": "Griffon the Brush Off", + "dailymotion": "//www.dailymotion.com/video/x3thnjz", + "placeholder": null + }, + { + "title": "Boast Busters", + "dailymotion": "//www.dailymotion.com/video/x3thnk0", + "placeholder": null + }, + { + "title": "Dragonshy", + "dailymotion": "//www.dailymotion.com/video/x3thnk1", + "placeholder": null + }, + { + "title": "Look Before You Sleep", + "dailymotion": "//www.dailymotion.com/video/x3vcf37", + "placeholder": null + }, + { + "title": "Bridle Gossip", + "dailymotion": "//www.dailymotion.com/video/x3vcf38", + "placeholder": null + }, + { + "title": "Swarm of the Century", + "dailymotion": "//www.dailymotion.com/video/x3vcf39", + "placeholder": null + }, + { + "title": "Winter Wrap Up", + "dailymotion": "//www.dailymotion.com/video/x3vcf3a", + "placeholder": null + }, + { + "title": "Call of the Cutie", + "dailymotion": "//www.dailymotion.com/video/x3vcf3b", + "placeholder": null + }, + { + "title": "Fall Weather Friends", + "dailymotion": "//www.dailymotion.com/video/x3w2lfn", + "placeholder": null + }, + { + "title": "Suited for Success", + "dailymotion": "//www.dailymotion.com/video/x3w2lfq", + "placeholder": null + }, + { + "title": "Feeling Pinkie Keen", + "dailymotion": "//www.dailymotion.com/video/x3w2lfr", + "placeholder": null + }, + { + "title": "Sonic Rainboom", + "dailymotion": "//www.dailymotion.com/video/x3w2lfs", + "placeholder": null + }, + { + "title": "Stare Master", + "dailymotion": "//www.dailymotion.com/video/x3w2lft", + "placeholder": null + }, + { + "title": "The Show Stoppers", + "dailymotion": "//www.dailymotion.com/video/x3ysro9", + "placeholder": null + }, + { + "title": "A Dog and Pony Show", + "dailymotion": "//www.dailymotion.com/video/x3ysrod", + "placeholder": null + }, + { + "title": "Green Isn't Your Color", + "dailymotion": "//www.dailymotion.com/video/x3ysrog", + "placeholder": null + }, + { + "title": "Over a Barrel", + "dailymotion": "//www.dailymotion.com/video/x3ysroj", + "placeholder": null + }, + { + "title": "A Bird in the Hoof", + "dailymotion": "//www.dailymotion.com/video/x3ysrom", + "placeholder": null + }, + { + "title": "The Cutie Mark Chronicles", + "dailymotion": "//www.dailymotion.com/video/x3z34hz", + "placeholder": null + }, + { + "title": "Owl's Well That Ends Well", + "dailymotion": "//www.dailymotion.com/video/x3z34i0", + "placeholder": null + }, + { + "title": "Party of One", + "dailymotion": "//www.dailymotion.com/video/x3z34i2", + "placeholder": null + }, + { + "title": "The Best Night Ever", + "dailymotion": "//www.dailymotion.com/video/x3z34i5", + "placeholder": null + } + ], + [ + { + "title": "The Return of Harmony - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3nferb", + "placeholder": null + }, + { + "title": "The Return of Harmony - Part 2", + "dailymotion": "//www.dailymotion.com/video/x2drdtm", + "placeholder": null + }, + { + "title": "Lesson Zero", + "dailymotion": "//www.dailymotion.com/video/x3nferz", + "placeholder": null + }, + { + "title": "Luna Eclipsed", + "dailymotion": "//www.dailymotion.com/video/x3nfes5", + "placeholder": null + }, + { + "title": "Sisterhooves Social", + "dailymotion": "//www.dailymotion.com/video/x2dsviw", + "placeholder": null + }, + { + "title": "The Cutie Pox", + "dailymotion": "//www.dailymotion.com/video/x3nuvs0", + "placeholder": null + }, + { + "title": "May the Best Pet Win!", + "dailymotion": "//www.dailymotion.com/video/x3nuvtb", + "placeholder": null + }, + { + "title": "The Mysterious Mare Do Well", + "dailymotion": "//www.dailymotion.com/video/x3nuvtd", + "placeholder": null + }, + { + "title": "Sweet and Elite", + "dailymotion": "//www.dailymotion.com/video/x3nuvte", + "placeholder": null + }, + { + "title": "Secret of My Excess", + "dailymotion": "//www.dailymotion.com/video/x3nuvtg", + "placeholder": null + }, + { + "title": "Hearth's Warming Eve", + "dailymotion": "//www.dailymotion.com/video/x2duq0j", + "placeholder": null + }, + { + "title": "Family Appreciation Day", + "dailymotion": "//www.dailymotion.com/video/x3p2jkp", + "placeholder": null + }, + { + "title": "Baby Cakes", + "dailymotion": "//www.dailymotion.com/video/x3p2jkq", + "placeholder": null + }, + { + "title": "The Last Roundup", + "dailymotion": "//www.dailymotion.com/video/x3p2jkr", + "placeholder": null + }, + { + "title": "Super Speedy Cider Squeezy 6000", + "dailymotion": "//www.dailymotion.com/video/x3p2jks", + "placeholder": null + }, + { + "title": "Read It and Weep", + "dailymotion": "//www.dailymotion.com/video/x3rngwu", + "placeholder": null + }, + { + "title": "Hearts and Hooves Day", + "dailymotion": "//www.dailymotion.com/video/x4h818o", + "placeholder": null + }, + { + "title": "A Friend in Deed", + "dailymotion": "//www.dailymotion.com/video/x3rngww", + "placeholder": null + }, + { + "title": "Putting Your Hoof Down", + "dailymotion": "//www.dailymotion.com/video/x3rngwx", + "placeholder": null + }, + { + "title": "It's About Time", + "dailymotion": "//www.dailymotion.com/video/x3rngwy", + "placeholder": null + }, + { + "title": "Dragon Quest", + "dailymotion": "//www.dailymotion.com/video/x3s3w8b", + "placeholder": null + }, + { + "title": "Hurricane Fluttershy", + "dailymotion": "//www.dailymotion.com/video/x3s3w8c", + "placeholder": null + }, + { + "title": "Ponyville Confidential", + "dailymotion": "//www.dailymotion.com/video/x3s3w8d", + "placeholder": null + }, + { + "title": "MMMystery on the Friendship Express ", + "dailymotion": "//www.dailymotion.com/video/x10zkem", + "placeholder": null + }, + { + "title": "A Canterlot Wedding - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3h0quv", + "placeholder": null + }, + { + "title": "A Canterlot Wedding - Part 2", + "dailymotion": "//www.dailymotion.com/video/x10zkff", + "placeholder": null + } + ], + [ + { + "title": "The Crystal Empire - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3h0qze", + "placeholder": null + }, + { + "title": "The Crystal Empire - Part 2", + "dailymotion": "//www.dailymotion.com/video/x3odlr6", + "placeholder": null + }, + { + "title": "Too Many Pinkie Pies", + "dailymotion": "//www.dailymotion.com/video/x3kgows", + "placeholder": null + }, + { + "title": "One Bad Apple", + "dailymotion": "//www.dailymotion.com/video/x3kgowu", + "placeholder": null + }, + { + "title": "Magic Duel", + "dailymotion": "//www.dailymotion.com/video/x3kgoww", + "placeholder": null + }, + { + "title": "Sleepless in Ponyville", + "dailymotion": "//www.dailymotion.com/video/x11arm1", + "placeholder": null + }, + { + "title": "Wonderbolts Academy", + "dailymotion": "//www.dailymotion.com/video/x3kwymi", + "placeholder": null + }, + { + "title": "Apple Family Reunion", + "dailymotion": "//www.dailymotion.com/video/x3kwymk", + "placeholder": null + }, + { + "title": "Spike at Your Service", + "dailymotion": "//www.dailymotion.com/video/x3kwyml", + "placeholder": null + }, + { + "title": "Keep Calm and Flutter On", + "dailymotion": "//www.dailymotion.com/video/x3kwymn", + "placeholder": null + }, + { + "title": "Just for Sidekicks", + "dailymotion": "//www.dailymotion.com/video/x3l5omj", + "placeholder": null + }, + { + "title": "Games Ponies Play", + "dailymotion": "//www.dailymotion.com/video/x3l5oml", + "placeholder": null + }, + { + "title": "Magical Mystery Cure", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + } + ], + [ + { + "title": "Princess Twilight Sparkle - Part 1", + "dailymotion": "//www.dailymotion.com/video/x4hyzil", + "placeholder": null + }, + { + "title": "Princess Twilight Sparkle - Part 2", + "dailymotion": "//www.dailymotion.com/video/x25wqze", + "placeholder": null + }, + { + "title": "Castle Mane-ia", + "dailymotion": "//www.dailymotion.com/video/x3irf8m", + "placeholder": null + }, + { + "title": "Daring Don't", + "dailymotion": "//www.dailymotion.com/video/x3irf8s", + "placeholder": null + }, + { + "title": "Flight to the Finish", + "dailymotion": "//www.dailymotion.com/video/x3irf8w", + "placeholder": null + }, + { + "title": "Power Ponies", + "dailymotion": "//www.dailymotion.com/video/x3ixwti", + "placeholder": null + }, + { + "title": "Bats!", + "dailymotion": "//www.dailymotion.com/video/x3ixwtx", + "placeholder": null + }, + { + "title": "Rarity Takes Manehattan", + "dailymotion": "//www.dailymotion.com/video/x3ixwuc", + "placeholder": null + }, + { + "title": "Pinkie Apple Pie", + "dailymotion": "//www.dailymotion.com/video/x19m4g4", + "placeholder": null + }, + { + "title": "Rainbow Falls", + "dailymotion": "//www.dailymotion.com/video/x3ixwut", + "placeholder": null + }, + { + "title": "Three's a Crowd", + "dailymotion": "//www.dailymotion.com/video/x3j57yc", + "placeholder": null + }, + { + "title": "Pinkie Pride", + "dailymotion": "//www.dailymotion.com/video/x3j57zc", + "placeholder": null + }, + { + "title": "Simple Ways", + "dailymotion": "//www.dailymotion.com/video/x3j57zg", + "placeholder": null + }, + { + "title": "Filli Vanilli", + "dailymotion": "//www.dailymotion.com/video/x3j57zn", + "placeholder": null + }, + { + "title": "Twilight Time", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "It Ain't Easy Being Breezies", + "dailymotion": "//www.dailymotion.com/video/x3ja12y", + "placeholder": null + }, + { + "title": "Somepony to Watch Over Me", + "dailymotion": "//www.dailymotion.com/video/x3jf2ps", + "placeholder": null + }, + { + "title": "Maud Pie", + "dailymotion": "//www.dailymotion.com/video/x2cdy7d", + "placeholder": null + }, + { + "title": "For Whom the Sweetie Belle Toils", + "dailymotion": "//www.dailymotion.com/video/x3jf2qz", + "placeholder": null + }, + { + "title": "Leap of Faith", + "dailymotion": "//www.dailymotion.com/video/x1kfwzs", + "placeholder": null + }, + { + "title": "Testing, Testing, 1, 2, 3", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Trade Ya", + "dailymotion": "//www.dailymotion.com/video/x3jqk2v", + "placeholder": null + }, + { + "title": "Inspiration Manifestation", + "dailymotion": "//www.dailymotion.com/video/x3jqk3j", + "placeholder": null + }, + { + "title": "Equestria Games", + "dailymotion": "//www.dailymotion.com/video/x3jqk58", + "placeholder": null + }, + { + "title": "Twilight's Kingdom - Part 1", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Twilight's Kingdom - Part 2", + "dailymotion": "//www.dailymotion.com/video/x2fykm4", + "placeholder": null + } + ], + [ + { + "title": "The Cutie Map - Part 1", + "dailymotion": "//www.dailymotion.com/video/k47jy3e8yKQr1WaImmK", + "placeholder": null + }, + { + "title": "The Cutie Map - Part 2", + "dailymotion": "//www.dailymotion.com/video/k3h9UBZQl1e614aImmM", + "placeholder": null + }, + { + "title": "Castle Sweet Castle", + "dailymotion": "//www.dailymotion.com/video/kc9qYARcGFsm8paNs6C", + "placeholder": null + }, + { + "title": "Bloom and Gloom", + "dailymotion": "//www.dailymotion.com/video/kNGd3ZJ8qg1u1qbg9t2", + "placeholder": null + }, + { + "title": "Thanks for the Memories", + "dailymotion": "//www.dailymotion.com/video/k3rc1wsQ5Ob83vaVUCz", + "placeholder": null + }, + { + "title": "Appleoosa\u2019s Most Wanted", + "dailymotion": "//www.dailymotion.com/video/kJ0VIvMNTHRWT2b32iR", + "placeholder": null + }, + { + "title": "Make New Friends But Keep Discord", + "dailymotion": "//www.dailymotion.com/video/k4y0WaMNmsPuQIbdy5t", + "placeholder": null + }, + { + "title": "The Lost Treasure of Griffonstone", + "dailymotion": "//www.dailymotion.com/video/k2X2Ey1lRN7FxKbnVtB", + "placeholder": null + }, + { + "title": "Slice of Life", + "dailymotion": "//www.dailymotion.com/video/k2JurOSJGh3NpwbEVwy", + "placeholder": null + }, + { + "title": "Princess Spike", + "dailymotion": "//www.dailymotion.com/video/k2qzckblM62ZuXbOAPp", + "placeholder": null + }, + { + "title": "Party Pooped", + "dailymotion": "//www.dailymotion.com/video/k6lZlf1UFUYqjebOAUN", + "placeholder": null + }, + { + "title": "Amending Fences", + "dailymotion": "//www.dailymotion.com/video/kjL5SX9IpRLBtmcah2l", + "placeholder": null + }, + { + "title": "Do Princesses Dream of Magic Sheep", + "dailymotion": "//www.dailymotion.com/video/k11Mr62oqQe7kAcah2n", + "placeholder": null + }, + { + "title": "Canterlot Boutique", + "dailymotion": "//www.dailymotion.com/video/kpgqjlW6CAXo0gd4Zro", + "placeholder": null + }, + { + "title": "Rarity Investigates!", + "dailymotion": "//www.dailymotion.com/video/k3CDWGypoF3Xced8bGZ", + "placeholder": null + }, + { + "title": "Made in Manehattan", + "dailymotion": "//www.dailymotion.com/video/k6qBe7K31m2KSKdedIO", + "placeholder": null + }, + { + "title": "Brotherhooves Social", + "dailymotion": "//www.dailymotion.com/video/k7b7UIyQ4pBNHUdk5C8", + "placeholder": null + }, + { + "title": "Crusaders of the Lost Mark", + "dailymotion": "//www.dailymotion.com/video/k4zbJ1z2FZP6pmdndEN", + "placeholder": null + }, + { + "title": "The One Where Pinkie Pie Knows", + "dailymotion": "//www.dailymotion.com/video/k7uBuf2MUKicisdw4z4", + "placeholder": null + }, + { + "title": "Hearthbreakers", + "dailymotion": "//www.dailymotion.com/video/k43yRIRICIaiK8dK4VG", + "placeholder": null + }, + { + "title": "Scare-Master", + "dailymotion": "//www.dailymotion.com/video/k6SW1twfUGQdhTd8bJJ", + "placeholder": null + }, + { + "title": "What About Discord", + "dailymotion": "//www.dailymotion.com/video/k5VZ3flx4QtfYTdYlmh", + "placeholder": null + }, + { + "title": "The Hooffields and McColts", + "dailymotion": "//www.dailymotion.com/video/kR3d45Gbk54ZE2dYlsH", + "placeholder": null + }, + { + "title": "The Mane Attraction", + "dailymotion": "//www.dailymotion.com/video/k7w734dka5XKWJe5ZMN", + "placeholder": null + }, + { + "title": "Cutie Re-Mark - Part 1", + "dailymotion": "//www.dailymotion.com/video/kY2kh1d2fsTOpyedxUy", + "placeholder": null + }, + { + "title": "Cutie Re-Mark - Part 2", + "dailymotion": "//www.dailymotion.com/video/k3C52knCWURja7edxXS", + "placeholder": null + } + ], + [ + { + "title": "The Crystalling - Part 1", + "dailymotion": "//www.dailymotion.com/video/x40aup5", + "placeholder": null + }, + { + "title": "The Crystalling - Part 2", + "dailymotion": "//www.dailymotion.com/video/x40g2n1", + "placeholder": null + }, + { + "title": "The Gift of the Maud Pie", + "dailymotion": "//www.dailymotion.com/video/x41pgow", + "placeholder": null + }, + { + "title": "On Your Marks", + "dailymotion": "//www.dailymotion.com/video/x43fzs1", + "placeholder": null + }, + { + "title": "Gauntlet of Fire", + "dailymotion": "//www.dailymotion.com/video/x453h07", + "placeholder": null + }, + { + "title": "No Second Prances", + "dailymotion": "//www.dailymotion.com/video/x482b93", + "placeholder": null + }, + { + "title": "Newbie Dash", + "dailymotion": "//www.dailymotion.com/video/x497vee", + "placeholder": null + }, + { + "title": "A Hearth's Warming Tail", + "dailymotion": "//www.dailymotion.com/video/x4algkv", + "placeholder": null + }, + { + "title": "The Saddle Row Review", + "dailymotion": "//www.dailymotion.com/video/x4c14aw", + "placeholder": null + }, + { + "title": "Applejack's \"Day\" Off", + "dailymotion": "//www.dailymotion.com/video/x4dbsn1", + "placeholder": null + }, + { + "title": "Flutter Brutter", + "dailymotion": "//www.dailymotion.com/video/x4el9nu", + "placeholder": null + }, + { + "title": "Spice Up Your Life", + "dailymotion": "//www.dailymotion.com/video/x4fybmg", + "placeholder": null + }, + { + "title": "Stranger Than Fan Fiction", + "dailymotion": "//www.dailymotion.com/video/x4mjj85", + "placeholder": null + }, + { + "title": "The Cart Before the Ponies", + "dailymotion": "//www.dailymotion.com/video/x59tp9i", + "placeholder": null + }, + { + "title": "28 Pranks Later", + "dailymotion": "//www.dailymotion.com/video/x4oosal", + "placeholder": null + }, + { + "title": "The Times They Are a Changeling", + "dailymotion": "//www.dailymotion.com/video/x4plsa8", + "placeholder": null + }, + { + "title": "Dungeons & Discords", + "dailymotion": "//www.dailymotion.com/video/x4qohww", + "placeholder": null + }, + { + "title": "Buckball Season", + "dailymotion": "//www.dailymotion.com/video/x4rsnah", + "placeholder": null + }, + { + "title": "The Fault in Our Cutie Marks", + "dailymotion": "//www.dailymotion.com/video/x4sulgi", + "placeholder": null + }, + { + "title": "Viva Las Pegasus", + "dailymotion": "//www.dailymotion.com/video/x4todiu", + "placeholder": null + }, + { + "title": "Every Little Thing She Does", + "dailymotion": "//www.dailymotion.com/video/x4ul4tz", + "placeholder": null + }, + { + "title": "P.P.O.V. (Pony Point of View)", + "dailymotion": "//www.dailymotion.com/video/x4vnoq2", + "placeholder": null + }, + { + "title": "Where the Apple Lies", + "dailymotion": "//www.dailymotion.com/video/x5mplkn", + "placeholder": null + }, + { + "title": "Top Bolt", + "dailymotion": "//www.dailymotion.com/video/x4xd1fi", + "placeholder": null + }, + { + "title": "To Where and Back Again - Part 1", + "dailymotion": "//www.dailymotion.com/video/x4yo7al", + "placeholder": null + }, + { + "title": "To Where and Back Again - Part 2", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + } + ], + [ + { + "title": "Celestial Advice", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "All Bottled Up", + "dailymotion": "//www.dailymotion.com/video/x5ifdyt", + "placeholder": null + }, + { + "title": "A Flurry of Emotions", + "dailymotion": "//www.dailymotion.com/video/x5jcfjw", + "placeholder": null + }, + { + "title": "Rock Solid Friendship", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Fluttershy Leans In", + "dailymotion": "//www.dailymotion.com/video/x5lai79", + "placeholder": null + }, + { + "title": "Forever Filly", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Parental Glideance", + "dailymotion": "//www.dailymotion.com/video/x5n7hne", + "placeholder": null + }, + { + "title": "Hard to Say Anything", + "dailymotion": "//www.dailymotion.com/video/x5o631v", + "placeholder": null + }, + { + "title": "Honest Apple", + "dailymotion": "//www.dailymotion.com/video/x5p1f87", + "placeholder": null + }, + { + "title": "A Royal Problem", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Not Asking for Trouble", + "dailymotion": "//www.dailymotion.com/video/x5r2rcf", + "placeholder": null + }, + { + "title": "Discordant Harmony", + "dailymotion": "//www.dailymotion.com/video/x5w3azj", + "placeholder": null + }, + { + "title": "The Perfect Pear", + "dailymotion": "//www.dailymotion.com/video/x5w3d3z", + "placeholder": null + }, + { + "title": "Fame and Misfortune", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Triple Threat", + "dailymotion": "//www.dailymotion.com/video/x5xf58q", + "placeholder": null + }, + { + "title": "Campfire Tales", + "dailymotion": "//www.dailymotion.com/video/x5ye3nl", + "placeholder": null + }, + { + "title": "Daring Done", + "dailymotion": "//www.dailymotion.com/video/x607x2m", + "placeholder": null + }, + { + "title": "It Isn't the Mane Thing About You", + "dailymotion": "//www.dailymotion.com/video/x611xle", + "placeholder": null + }, + { + "title": "A Health of Information", + "dailymotion": "//www.dailymotion.com/video/x61ti6o", + "placeholder": null + }, + { + "title": "Marks and Recreation", + "dailymotion": "//www.dailymotion.com/video/x62rl1v", + "placeholder": null + }, + { + "title": "Once Upon a Zeppelin", + "dailymotion": "//www.dailymotion.com/video/x63qhug", + "placeholder": null + }, + { + "title": "Secrets and Pies", + "dailymotion": "//www.dailymotion.com/video/x64nhxg", + "placeholder": null + }, + { + "title": "Uncommon Bond", + "dailymotion": "//www.dailymotion.com/video/x65orpc", + "placeholder": null + }, + { + "title": "Shadow Play, Part I", + "dailymotion": "//www.dailymotion.com/video/x66r9jp", + "placeholder": null + }, + { + "title": "Shadow Play, Part II", + "dailymotion": "//www.dailymotion.com/video/x66r9jp", + "placeholder": null + } + ], + [ + { + "title": "School Daze - Part 1", + "dailymotion": "//www.dailymotion.com/video/x6gsvg8", + "placeholder": null + }, + { + "title": "School Daze - Part 2", + "dailymotion": "//www.dailymotion.com/video/x6gsvk9", + "placeholder": null + } + ] +]; +/* Utility functions */ +function RLS_episode(season, episode) { + if(episodes[season-1] == null) { + return {error: "Invalid season!"}; + } + if(episodes[season-1][episode-1]) { + return episodes[season-1][episode-1]; + } +} + +function RLS_getNext(season, episode) { + var ssNow = window.episodeMeta.season; + var epNow = window.episodeMeta.episode; + var seasonBox = episodes[ssNow-1]; + + if(seasonBox == null) return; + + if(seasonBox.length < epNow + 1) { + if(episodes[ssNow] == null) { + ssNow = 1; + epNow = 1; + } else { + ssNow += 1; + epNow = 1; + } + } else { + epNow += 1; + } + + return [ssNow, epNow]; +} + +function RLS_getPrev() { + var ssNow = window.episodeMeta.season; + var epNow = window.episodeMeta.episode; + var seasonBox = episodes[ssNow-1]; + + if(seasonBox == null) return; + + if(epNow - 1 == 0) { + if(ssNow == 1) { + ssNow = episodes.length; + epNow = episodes[ssNow-1].length; + } else { + ssNow -= 1; + epNow = episodes[ssNow-1].length; + } + } else { + epNow -= 1; + } + + return [ssNow, epNow]; +} + +function videoPopper(season, episode) { + var episodeinf = RLS_episode(season, episode); + + if(episodeinf['error']) + return {} + + return {embed: episodeinf.dailymotion.replace("/video/", "/embed/video/"), season: season, episode: episode, title: episodeinf.title}; +} + +function random_episode() { + var season_s = Math.floor(Math.random() * (episodes.length)) + 1; + var episode = Math.floor(Math.random() * (episodes[season_s-1].length)) + 1; + return videoPopper(season_s, episode); +} + +function detectepisode() { + if(window.location.hash) { + var epis = window.location.hash.substring(1).match(/^epi([0-9]+)s([0-9]+)$/i); + if(epis) { + openEpisode(videoPopper(epis[2], epis[1])); + } + } else { + var se = getUrlParameter("s"); + var ep = getUrlParameter("e"); + var epid = getUrlParameter("episode"); + if(se && ep) { + openEpisode(videoPopper(se, ep)); + } else if(epid) { + var epis = epid.match(/^epi([0-9]+)s([0-9]+)$/i); + if(epis) { + openEpisode(videoPopper(epis[2], epis[1])); + } + } + } +} + +function goNext() { + var eps = RLS_getNext(); + openEpisode(videoPopper(eps[0], eps[1])); +} +function goPrev() { + var eps = RLS_getPrev(); + openEpisode(videoPopper(eps[0], eps[1])); +} + +$(window).on('hashchange', function() { + detectepisode(); +}); + +$(document).ready(function() { + $('noscript').remove(); + $('#randomepisode').click(function() { + openEpisode(random_episode()); + }); + $('.mlpepisode').click(function() { + openEpisode(videoPopper($(this).data("episode-season"), $(this).data("episode-number"))); + return false; + }); + $('.clickdel').click(function() { + $(this).fadeOut(); + return false; + }); + $('a').click(function() { + if($(this).attr("href") === "#"){ + return false; + } + }); + detectepisode(); +}); + +// Tweet handler +function tweetEpisode() { + var link = "https://mlp.icynet.eu/?episode=epi"+window.episodeMeta.episode+"s"+window.episodeMeta.season; + var target = "https://twitter.com/intent/tweet?text="+window.episodeMeta.title+"&hashtags=mlpfim&url="+link; + window.open(target, "Share this Episode", "width=500,height=400"); +} + +// FB post handler +function sharefbEpisode() { + var link = "https://mlp.icynet.eu/?episode=epi"+window.episodeMeta.episode+"s"+window.episodeMeta.season; + var target = "https://www.facebook.com/sharer.php?u="+link; + window.open(target, "Share this Episode", "width=500,height=400"); +} + +function copyToClipboard() { + var link = "https://mlp.icynet.eu/?episode=epi"+window.episodeMeta.episode+"s"+window.episodeMeta.season; + window.prompt ("Copy to clipboard: Ctrl+C, Enter", link); +} diff --git a/js/episodes.js b/js/episodes.js new file mode 100644 index 0000000..54d54f9 --- /dev/null +++ b/js/episodes.js @@ -0,0 +1,951 @@ +// Welcome! This is a dynamically generated listing of as many episodes as I +// find, maintained by a different person than the main page. Contact me (Evert) at the email +// evert@lunasqu.ee with any inqueries. +// +// This page is generated from a number of dailymotion channels which regularly +// post mlp episodes. An algorithm is used to pick out the relevant episodes as +// well as some basic information about them. Some episodes are also selected +// by hand and included. +// +// If you are intrested in the server-side source code, shoot me an email and I +// can send it to you, though be warned -- it isn't exactly neat or well +// documented. +// +// If you host episodes on your own dailymotion channel or run a listing that +// you would like included in the algorith, please contact me and I will add you +// to the list. +console.log("%cAlso, a dynamic listing created from several sources ----->", "font-size:15px;"); +console.log("For more information, see http://tsa6.us.to/mlptkeps, contact evert@lunasqu.ee, or look at the comments in the source."); + +//Episode Listing: +episodes = [ + [ + { + "title": "Friendship is Magic - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3syjbp", + "available": true + }, + { + "title": "Friendship is Magic - Part 2", + "dailymotion": "//www.dailymotion.com/video/xv3o78", + "available": true + }, + { + "title": "The Ticket Master", + "dailymotion": "//www.dailymotion.com/video/x3thnjx", + "available": true + }, + { + "title": "Applebuck Season", + "dailymotion": "//www.dailymotion.com/video/x3thnjy", + "available": true + }, + { + "title": "Griffon the Brush Off", + "dailymotion": "//www.dailymotion.com/video/x3thnjz", + "available": true + }, + { + "title": "Boast Busters", + "dailymotion": "//www.dailymotion.com/video/x3thnk0", + "available": true + }, + { + "title": "Dragonshy", + "dailymotion": "//www.dailymotion.com/video/x3thnk1", + "available": true + }, + { + "title": "Look Before You Sleep", + "dailymotion": "//www.dailymotion.com/video/x3vcf37", + "available": true + }, + { + "title": "Bridle Gossip", + "dailymotion": "//www.dailymotion.com/video/x3vcf38", + "available": true + }, + { + "title": "Swarm of the Century", + "dailymotion": "//www.dailymotion.com/video/x3vcf39", + "available": true + }, + { + "title": "Winter Wrap Up", + "dailymotion": "//www.dailymotion.com/video/x3vcf3a", + "available": true + }, + { + "title": "Call of the Cutie", + "dailymotion": "//www.dailymotion.com/video/x3vcf3b", + "available": true + }, + { + "title": "Fall Weather Friends", + "dailymotion": "//www.dailymotion.com/video/x3w2lfn", + "available": true + }, + { + "title": "Suited for Success", + "dailymotion": "//www.dailymotion.com/video/x3w2lfq", + "available": true + }, + { + "title": "Feeling Pinkie Keen", + "dailymotion": "//www.dailymotion.com/video/x3w2lfr", + "available": true + }, + { + "title": "Sonic Rainboom", + "dailymotion": "//www.dailymotion.com/video/x3w2lfs", + "available": true + }, + { + "title": "Stare Master", + "dailymotion": "//www.dailymotion.com/video/x3w2lft", + "available": true + }, + { + "title": "The Show Stoppers", + "dailymotion": "//www.dailymotion.com/video/x3ysro9", + "available": true + }, + { + "title": "A Dog and Pony Show", + "dailymotion": "//www.dailymotion.com/video/x3ysrod", + "available": true + }, + { + "title": "Green Isn't Your Color", + "dailymotion": "//www.dailymotion.com/video/x3ysrog", + "available": true + }, + { + "title": "Over a Barrel", + "dailymotion": "//www.dailymotion.com/video/x3ysroj", + "available": true + }, + { + "title": "A Bird in the Hoof", + "dailymotion": "//www.dailymotion.com/video/x3ysrom", + "available": true + }, + { + "title": "The Cutie Mark Chronicles", + "dailymotion": "//www.dailymotion.com/video/x3z34hz", + "available": true + }, + { + "title": "Owl's Well That Ends Well", + "dailymotion": "//www.dailymotion.com/video/x3z34i0", + "available": true + }, + { + "title": "Party of One", + "dailymotion": "//www.dailymotion.com/video/x3z34i2", + "available": true + }, + { + "title": "The Best Night Ever", + "dailymotion": "//www.dailymotion.com/video/x3z34i5", + "available": true + } + ], + [ + { + "title": "The Return of Harmony - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3nferb", + "available": true + }, + { + "title": "The Return of Harmony - Part 2", + "dailymotion": "//www.dailymotion.com/video/x2drdtm", + "available": true + }, + { + "title": "Lesson Zero", + "dailymotion": "//www.dailymotion.com/video/x3nferz", + "available": true + }, + { + "title": "Luna Eclipsed", + "dailymotion": "//www.dailymotion.com/video/x3nfes5", + "available": true + }, + { + "title": "Sisterhooves Social", + "dailymotion": "//www.dailymotion.com/video/x2dsviw", + "available": true + }, + { + "title": "The Cutie Pox", + "dailymotion": "//www.dailymotion.com/video/x3nuvs0", + "available": true + }, + { + "title": "May the Best Pet Win!", + "dailymotion": "//www.dailymotion.com/video/x3nuvtb", + "available": true + }, + { + "title": "The Mysterious Mare Do Well", + "dailymotion": "//www.dailymotion.com/video/x3nuvtd", + "available": true + }, + { + "title": "Sweet and Elite", + "dailymotion": "//www.dailymotion.com/video/x3nuvte", + "available": true + }, + { + "title": "Secret of My Excess", + "dailymotion": "//www.dailymotion.com/video/x3nuvtg", + "available": true + }, + { + "title": "Hearth's Warming Eve", + "dailymotion": "//www.dailymotion.com/video/x2duq0j", + "available": true + }, + { + "title": "Family Appreciation Day", + "dailymotion": "//www.dailymotion.com/video/x3p2jkp", + "available": true + }, + { + "title": "Baby Cakes", + "dailymotion": "//www.dailymotion.com/video/x3p2jkq", + "available": true + }, + { + "title": "The Last Roundup", + "dailymotion": "//www.dailymotion.com/video/x3p2jkr", + "available": true + }, + { + "title": "Super Speedy Cider Squeezy 6000", + "dailymotion": "//www.dailymotion.com/video/x3p2jks", + "available": true + }, + { + "title": "Read It and Weep", + "dailymotion": "//www.dailymotion.com/video/x3rngwu", + "available": true + }, + { + "title": "Hearts and Hooves Day", + "dailymotion": "//www.dailymotion.com/video/x4h818o", + "available": true + }, + { + "title": "A Friend in Deed", + "dailymotion": "//www.dailymotion.com/video/x3rngww", + "available": true + }, + { + "title": "Putting Your Hoof Down", + "dailymotion": "//www.dailymotion.com/video/x3rngwx", + "available": true + }, + { + "title": "It's About Time", + "dailymotion": "//www.dailymotion.com/video/x3rngwy", + "available": true + }, + { + "title": "Dragon Quest", + "dailymotion": "//www.dailymotion.com/video/x3s3w8b", + "available": true + }, + { + "title": "Hurricane Fluttershy", + "dailymotion": "//www.dailymotion.com/video/x3s3w8c", + "available": true + }, + { + "title": "Ponyville Confidential", + "dailymotion": "//www.dailymotion.com/video/x3s3w8d", + "available": true + }, + { + "title": "MMMystery on the Friendship Express ", + "dailymotion": "//www.dailymotion.com/video/x10zkem", + "available": true + }, + { + "title": "A Canterlot Wedding - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3h0quv", + "available": true + }, + { + "title": "A Canterlot Wedding - Part 2", + "dailymotion": "//www.dailymotion.com/video/x10zkff", + "available": true + } + ], + [ + { + "title": "The Crystal Empire - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3h0qze", + "available": true + }, + { + "title": "The Crystal Empire - Part 2", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Too Many Pinkie Pies", + "dailymotion": "//www.dailymotion.com/video/x3kgows", + "available": true + }, + { + "title": "One Bad Apple", + "dailymotion": "//www.dailymotion.com/video/x3kgowu", + "available": true + }, + { + "title": "Magic Duel", + "dailymotion": "//www.dailymotion.com/video/x3kgoww", + "available": true + }, + { + "title": "Sleepless in Ponyville", + "dailymotion": "//www.dailymotion.com/video/x11arm1", + "available": true + }, + { + "title": "Wonderbolts Academy", + "dailymotion": "//www.dailymotion.com/video/x3kwymi", + "available": true + }, + { + "title": "Apple Family Reunion", + "dailymotion": "//www.dailymotion.com/video/x3kwymk", + "available": true + }, + { + "title": "Spike at Your Service", + "dailymotion": "//www.dailymotion.com/video/x3kwyml", + "available": true + }, + { + "title": "Keep Calm and Flutter On", + "dailymotion": "//www.dailymotion.com/video/x3kwymn", + "available": true + }, + { + "title": "Just for Sidekicks", + "dailymotion": "//www.dailymotion.com/video/x3l5omj", + "available": true + }, + { + "title": "Games Ponies Play", + "dailymotion": "//www.dailymotion.com/video/x3l5oml", + "available": true + }, + { + "title": "Magical Mystery Cure", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + } + ], + [ + { + "title": "Princess Twilight Sparkle - Part 1", + "dailymotion": "//www.dailymotion.com/video/x4hyzil", + "available": true + }, + { + "title": "Princess Twilight Sparkle - Part 2", + "dailymotion": "//www.dailymotion.com/video/x25wqze", + "available": true + }, + { + "title": "Castle Mane-ia", + "dailymotion": "//www.dailymotion.com/video/x3irf8m", + "available": true + }, + { + "title": "Daring Don't", + "dailymotion": "//www.dailymotion.com/video/x3irf8s", + "available": true + }, + { + "title": "Flight to the Finish", + "dailymotion": "//www.dailymotion.com/video/x3irf8w", + "available": true + }, + { + "title": "Power Ponies", + "dailymotion": "//www.dailymotion.com/video/x3ixwti", + "available": true + }, + { + "title": "Bats!", + "dailymotion": "//www.dailymotion.com/video/x3ixwtx", + "available": true + }, + { + "title": "Rarity Takes Manehattan", + "dailymotion": "//www.dailymotion.com/video/x3ixwuc", + "available": true + }, + { + "title": "Pinkie Apple Pie", + "dailymotion": "//www.dailymotion.com/video/x19m4g4", + "available": true + }, + { + "title": "Rainbow Falls", + "dailymotion": "//www.dailymotion.com/video/x3ixwut", + "available": true + }, + { + "title": "Three's a Crowd", + "dailymotion": "//www.dailymotion.com/video/x3j57yc", + "available": true + }, + { + "title": "Pinkie Pride", + "dailymotion": "//www.dailymotion.com/video/x3j57zc", + "available": true + }, + { + "title": "Simple Ways", + "dailymotion": "//www.dailymotion.com/video/x3j57zg", + "available": true + }, + { + "title": "Filli Vanilli", + "dailymotion": "//www.dailymotion.com/video/x3j57zn", + "available": true + }, + { + "title": "Twilight Time", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "It Ain't Easy Being Breezies", + "dailymotion": "//www.dailymotion.com/video/x3ja12y", + "available": true + }, + { + "title": "Somepony to Watch Over Me", + "dailymotion": "//www.dailymotion.com/video/x3jf2ps", + "available": true + }, + { + "title": "Maud Pie", + "dailymotion": "//www.dailymotion.com/video/x2cdy7d", + "available": true + }, + { + "title": "For Whom the Sweetie Belle Toils", + "dailymotion": "//www.dailymotion.com/video/x3jf2qz", + "available": true + }, + { + "title": "Leap of Faith", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Testing, Testing, 1, 2, 3", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Trade Ya", + "dailymotion": "//www.dailymotion.com/video/x3jqk2v", + "available": true + }, + { + "title": "Inspiration Manifestation", + "dailymotion": "//www.dailymotion.com/video/x3jqk3j", + "available": true + }, + { + "title": "Equestria Games", + "dailymotion": "//www.dailymotion.com/video/x3jqk58", + "available": true + }, + { + "title": "Twilight's Kingdom - Part 1", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Twilight's Kingdom - Part 2", + "dailymotion": "//www.dailymotion.com/video/x2fykm4", + "available": true + } + ], + [ + { + "title": "The Cutie Map - Part 1", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "The Cutie Map - Part 2", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Castle Sweet Castle", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Bloom and Gloom", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Thanks for the Memories", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Appleoosa\u2019s Most Wanted", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Make New Friends But Keep Discord", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "The Lost Treasure of Griffonstone", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Slice of Life", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Princess Spike", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Party Pooped", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Amending Fences", + "dailymotion": "//www.dailymotion.com/video/x2wnaot", + "available": true + }, + { + "title": "Do Princesses Dream of Magic Sheep", + "dailymotion": "//www.dailymotion.com/video/x2xtnng", + "available": true + }, + { + "title": "Canterlot Boutique", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Rarity Investigates!", + "dailymotion": "//www.dailymotion.com/video/x38j0fi", + "available": true + }, + { + "title": "Made in Manehattan", + "dailymotion": "//www.dailymotion.com/video/x3f1l8y", + "available": true + }, + { + "title": "Brotherhooves Social", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Crusaders of the Lost Mark", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "The One Where Pinkie Pie Knows", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Hearthbreakers", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Scare-Master", + "dailymotion": "//www.dailymotion.com/video/x3bsxac", + "available": true + }, + { + "title": "What About Discord", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "The Hooffields and McColts", + "dailymotion": "//www.dailymotion.com/video/x3e1f0l", + "available": true + }, + { + "title": "The Mane Attraction", + "dailymotion": "//www.dailymotion.com/video/x3ezfw0", + "available": true + }, + { + "title": "Cutie Re-Mark - Part 1", + "dailymotion": "//www.dailymotion.com/video/x3getr1", + "available": true + }, + { + "title": "Cutie Re-Mark - Part 2", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + } + ], + [ + { + "title": "The Crystalling - Part 1", + "dailymotion": "//www.dailymotion.com/video/x40aup5", + "available": true + }, + { + "title": "The Crystalling - Part 2", + "dailymotion": "//www.dailymotion.com/video/x40g2n1", + "available": true + }, + { + "title": "The Gift of the Maud Pie", + "dailymotion": "//www.dailymotion.com/video/x41pgow", + "available": true + }, + { + "title": "On Your Marks", + "dailymotion": "//www.dailymotion.com/video/x43fzs1", + "available": true + }, + { + "title": "Gauntlet of Fire", + "dailymotion": "//www.dailymotion.com/video/x453h07", + "available": true + }, + { + "title": "No Second Prances", + "dailymotion": "//www.dailymotion.com/video/x482b93", + "available": true + }, + { + "title": "Newbie Dash", + "dailymotion": "//www.dailymotion.com/video/x497vee", + "available": true + }, + { + "title": "A Hearth's Warming Tail", + "dailymotion": "//www.dailymotion.com/video/x4algkv", + "available": true + }, + { + "title": "The Saddle Row Review", + "dailymotion": "//www.dailymotion.com/video/x4c14aw", + "available": true + }, + { + "title": "Applejack's \"Day\" Off", + "dailymotion": "//www.dailymotion.com/video/x4dbsn1", + "available": true + }, + { + "title": "Flutter Brutter", + "dailymotion": "//www.dailymotion.com/video/x4el9nu", + "available": true + }, + { + "title": "Spice Up Your Life", + "dailymotion": "//www.dailymotion.com/video/x4fybmg", + "available": true + }, + { + "title": "Stranger Than Fan Fiction", + "dailymotion": "//www.dailymotion.com/video/x4mjj85", + "available": true + }, + { + "title": "The Cart Before the Ponies", + "dailymotion": "//www.dailymotion.com/video/x59tp9i", + "available": true + }, + { + "title": "28 Pranks Later", + "dailymotion": "//www.dailymotion.com/video/x4oosal", + "available": true + }, + { + "title": "The Times They Are a Changeling", + "dailymotion": "//www.dailymotion.com/video/x4plsa8", + "available": true + }, + { + "title": "Dungeons & Discords", + "dailymotion": "//www.dailymotion.com/video/x4qohww", + "available": true + }, + { + "title": "Buckball Season", + "dailymotion": "//www.dailymotion.com/video/x4rsnah", + "available": true + }, + { + "title": "The Fault in Our Cutie Marks", + "dailymotion": "//www.dailymotion.com/video/x4sulgi", + "available": true + }, + { + "title": "Viva Las Pegasus", + "dailymotion": "//www.dailymotion.com/video/x4todiu", + "available": true + }, + { + "title": "Every Little Thing She Does", + "dailymotion": "//www.dailymotion.com/video/x4ul4tz", + "available": true + }, + { + "title": "P.P.O.V. (Pony Point of View)", + "dailymotion": "//www.dailymotion.com/video/x4vnoq2", + "available": true + }, + { + "title": "Where the Apple Lies", + "dailymotion": "//www.dailymotion.com/video/x5mplkn", + "available": true + }, + { + "title": "Top Bolt", + "dailymotion": "//www.dailymotion.com/video/x4xd1fi", + "available": true + }, + { + "title": "To Where and Back Again - Part 1", + "dailymotion": "//www.dailymotion.com/video/x4yo7al", + "available": true + }, + { + "title": "To Where and Back Again - Part 2", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + } + ], + [ + { + "title": "Celestial Advice", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "All Bottled Up", + "dailymotion": "//www.dailymotion.com/video/x5ifdyt", + "available": true + }, + { + "title": "A Flurry of Emotions", + "dailymotion": "//www.dailymotion.com/video/x5jcfjw", + "available": true + }, + { + "title": "Rock Solid Friendship", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Fluttershy Leans In", + "dailymotion": "//www.dailymotion.com/video/x5lai79", + "available": true + }, + { + "title": "Forever Filly", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Parental Glideance", + "dailymotion": "//www.dailymotion.com/video/x5n7hne", + "available": true + }, + { + "title": "Hard to Say Anything", + "dailymotion": "//www.dailymotion.com/video/x5o631v", + "available": true + }, + { + "title": "Honest Apple", + "dailymotion": "//www.dailymotion.com/video/x5p1f87", + "available": true + }, + { + "title": "A Royal Problem", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Not Asking for Trouble", + "dailymotion": "//www.dailymotion.com/video/x5r2rcf", + "available": true + }, + { + "title": "Discordant Harmony", + "dailymotion": "//www.dailymotion.com/video/x5w3azj", + "available": true + }, + { + "title": "The Perfect Pear", + "dailymotion": "//www.dailymotion.com/video/x5w3d3z", + "available": true + }, + { + "title": "Fame and Misfortune", + "dailymotion": "//www.dailymotion.com/video/NotAvailable", + "available": false + }, + { + "title": "Triple Threat", + "dailymotion": "//www.dailymotion.com/video/x5xf58q", + "available": true + }, + { + "title": "Campfire Tales", + "dailymotion": "//www.dailymotion.com/video/x5ye3nl", + "available": true + }, + { + "title": "Daring Done", + "dailymotion": "//www.dailymotion.com/video/x607x2m", + "available": true + }, + { + "title": "It Isn't the Mane Thing About You", + "dailymotion": "//www.dailymotion.com/video/x611xle", + "available": true + }, + { + "title": "A Health of Information", + "dailymotion": "//www.dailymotion.com/video/x61ti6o", + "available": true + }, + { + "title": "Marks and Recreation", + "dailymotion": "//www.dailymotion.com/video/x62rl1v", + "available": true + }, + { + "title": "Once Upon a Zeppelin", + "dailymotion": "//www.dailymotion.com/video/x63qhug", + "available": true + }, + { + "title": "Secrets and Pies", + "dailymotion": "//www.dailymotion.com/video/x64nhxg", + "available": true + }, + { + "title": "Uncommon Bond", + "dailymotion": "//www.dailymotion.com/video/x65orpc", + "available": true + }, + { + "title": "Shadow Play, Part I", + "dailymotion": "//www.dailymotion.com/video/x66r9jp", + "available": true + }, + { + "title": "Shadow Play, Part II", + "dailymotion": "//www.dailymotion.com/video/x66r9jp", + "available": true + } + ], + [ + { + "title": "School Daze - Part 1", + "dailymotion": "//www.dailymotion.com/video/x6gsvg8", + "available": true + }, + { + "title": "School Daze - Part 2", + "dailymotion": "//www.dailymotion.com/video/x6gsvk9", + "available": true + } + ] +]; + +// Randomization function that won't return an unavailable episode +// Note: Each season is equally weighted, and each episode within the selected +// season, but episodes in different seasons have different probabilities of +// being selected. +function random_episode() { + var season_s = Math.floor(Math.random() * (episodes.length)) + 1; + var episode = Math.floor(Math.random() * (episodes[season_s - 1].length)) + 1; + return episodes[season_s - 1][episode - 1].available ? videoPopper(season_s, episode) : random_episode(); +} + +//Creates "missing episode" frame by modifying the openEpisode function +var missingFrame = document.createElement("iframe"); +missingFrame.style.height = "100%"; +missingFrame.style.width = "100%"; +missingFrame.style.display = "none"; +missingFrame.style.border = "0"; +missingFrame.class = "video"; +innerCont = document.body.getElementsByClassName("inner-cont")[0]; +innerCont.insertBefore(missingFrame, innerCont.getElementsByClassName("controls")[0]); +function openEpisode(viddata) { + epTitle=document.querySelector('[data-episode-number="' + viddata.episode + '"][data-episode-season="' + viddata.season + '"]').attributes['data-episode'].value || viddata.title + dmVideo = document.getElementById("DMVideo"); + $('.episodetitle').text(epTitle); + if (episodes[viddata.season - 1][viddata.episode - 1].available) { + dmVideo.style.display = "inline"; + missingFrame.style.display = "none"; + player = DM.player(dmVideo, { + video: viddata.embed.replace("//www.dailymotion.com/embed/video/", ""), + width: "100%", + height: "100%", + params: { + autoplay: true + } + }); + } else { + //missingFrame.src = "https://tsa6.tk/webapps/mlptkeps/missing?" + viddata.season + "x" + viddata.episode; + missingFrame.src = "https://mlp.icynet.eu/MissingResponse.html?" + viddata.season + "x" + viddata.episode; + dmVideo.style.display = "none"; + missingFrame.style.display = "initial"; + } + $('.vidplayerpopup').fadeIn('fast'); + window.episodeMeta = viddata; +} + +//Make sure that episodes listed as unreleased on the main site are marked as released +document.addEventListener("DOMContentLoaded", function(event) { + var unreleasedEpisodes = document.getElementsByClassName("mlpepisode_new"); + for(var i = 0; i < unreleasedEpisodes.length; i++) { + var ep = unreleasedEpisodes[i]; + if(episodes[ep.getAttribute("data-episode-season") - 1]) { + if(episodes[ep.getAttribute("data-episode-season") - 1][ep.getAttribute("data-episode-number") - 1]) { + ep.classList.remove("mlpepisode_new"); + ep.classList.add("mlpepisode") + ep.onclick = function() { + openEpisode(videoPopper($(this).data("episode-season"), $(this).data("episode-number"))); + return false; + } + i--; + } + } + } +}) diff --git a/js/jquery.slides.min.js b/js/jquery.slides.min.js new file mode 100644 index 0000000..668b8d0 --- /dev/null +++ b/js/jquery.slides.min.js @@ -0,0 +1,7 @@ +/* + SlidesJS 3.0.4 http://slidesjs.com + (c) 2013 by Nathan Searles http://nathansearles.com + Updated: June 26th, 2013 + Apache License: http://www.apache.org/licenses/LICENSE-2.0 +*/ +(function(){(function(e,t,n){var r,i,s;s="slidesjs";i={width:700,height:100,start:1,navigation:{active:!0,effect:"slide"},pagination:{active:!0,effect:"slide"},play:{active:!1,effect:"slide",interval:5e3,auto:!1,swap:!0,pauseOnHover:!1,restartDelay:2500},effect:{slide:{speed:500},fade:{speed:300,crossfade:!0}},callback:{loaded:function(){},start:function(){},complete:function(){}}};r=function(){function t(t,n){this.element=t;this.options=e.extend(!0,{},i,n);this._defaults=i;this._name=s;this.init()}return t}();r.prototype.init=function(){var n,r,i,s,o,u,a=this;n=e(this.element);this.data=e.data(this);e.data(this,"animating",!1);e.data(this,"total",n.children().not(".slidesjs-navigation",n).length);e.data(this,"current",this.options.start-1);e.data(this,"vendorPrefix",this._getVendorPrefix());if(typeof TouchEvent!="undefined"){e.data(this,"touch",!0);this.options.effect.slide.speed=this.options.effect.slide.speed/2}n.css({overflow:"hidden"});n.slidesContainer=n.children().not(".slidesjs-navigation",n).wrapAll("
",n).parent().css({overflow:"hidden",position:"relative"});e(".slidesjs-container",n).wrapInner("
",n).children();e(".slidesjs-control",n).css({position:"relative",left:0});e(".slidesjs-control",n).children().addClass("slidesjs-slide").css({position:"absolute",top:0,left:0,width:"700",zIndex:0,display:"none",webkitBackfaceVisibility:"hidden"});e.each(e(".slidesjs-control",n).children(),function(t){var n;n=e(this);return n.attr("slidesjs-index",t)});if(this.data.touch){e(".slidesjs-control",n).on("touchstart",function(e){return a._touchstart(e)});e(".slidesjs-control",n).on("touchmove",function(e){return a._touchmove(e)});e(".slidesjs-control",n).on("touchend",function(e){return a._touchend(e)})}n.fadeIn(0);this.update();this.data.touch&&this._setuptouch();e(".slidesjs-control",n).children(":eq("+this.data.current+")").eq(0).fadeIn(0,function(){return e(this).css({zIndex:10})});if(this.options.navigation.active){o=e("",{"class":"slidesjs-previous slidesjs-navigation",href:"#",title:"Previous",text:"Previous"}).appendTo(n);r=e("",{"class":"slidesjs-next slidesjs-navigation",href:"#",title:"Next",text:"Next"}).appendTo(n)}e(".slidesjs-next",n).click(function(e){e.preventDefault();a.stop(!0);return a.next(a.options.navigation.effect)});e(".slidesjs-previous",n).click(function(e){e.preventDefault();a.stop(!0);return a.previous(a.options.navigation.effect)});if(this.options.play.active){s=e("",{"class":"slidesjs-play slidesjs-navigation",href:"#",title:"Play",text:"Play"}).appendTo(n);u=e("",{"class":"slidesjs-stop slidesjs-navigation",href:"#",title:"Stop",text:"Stop"}).appendTo(n);s.click(function(e){e.preventDefault();return a.play(!0)});u.click(function(e){e.preventDefault();return a.stop(!0)});this.options.play.swap&&u.css({display:"none"})}if(this.options.pagination.active){i=e("