thumbnail sopra video con fadeoff
This commit is contained in:
parent
70348f56c3
commit
8b6b5e2765
4 changed files with 13 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
This file is the main entry point for js on the arkiwiJsBoilerplate app.
|
This file is the main entry point for js on the arkiwiJsBoilerplate app.
|
||||||
--------------------------------------------------------------------------------------------------------------------- */
|
--------------------------------------------------------------------------------------------------------------------- */
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org', 'http://upload.arkiwi.org');
|
var arkiwi = new ARKIWI.Aggregator('http://www.arkiwi.org');
|
||||||
$.get("templates/list_item_home.txt", function (template) {
|
$.get("templates/list_item_home.txt", function (template) {
|
||||||
|
|
||||||
arkiwi.path("XM24/Occupy_Mordor", function (listone) {
|
arkiwi.path("XM24/Occupy_Mordor", function (listone) {
|
||||||
|
|
|
@ -20,7 +20,7 @@ $(document).ready(function () {
|
||||||
var iframe_type = $(window.frameElement).attr("data-arkiwi-type");
|
var iframe_type = $(window.frameElement).attr("data-arkiwi-type");
|
||||||
// console.log(iframe_type);
|
// console.log(iframe_type);
|
||||||
|
|
||||||
var arkiwi = new ARKIWI.Arkiwi('http://www.arkiwi.org', 'http://upload.arkiwi.org');
|
var arkiwi = new ARKIWI.Aggregator('http://www.arkiwi.org');
|
||||||
/* $.get("templates/list_item_id.txt", function (template) {
|
/* $.get("templates/list_item_id.txt", function (template) {
|
||||||
|
|
||||||
arkiwi.path("XM24/Occupy_Mordor", function (listone) {
|
arkiwi.path("XM24/Occupy_Mordor", function (listone) {
|
||||||
|
|
|
@ -14,6 +14,14 @@
|
||||||
palette:
|
palette:
|
||||||
http://paletton.com/#uid=70f0u0ksXsOhL-cmHuduim--whE
|
http://paletton.com/#uid=70f0u0ksXsOhL-cmHuduim--whE
|
||||||
--------------------------------------------------------------------------------------------------------------------- */
|
--------------------------------------------------------------------------------------------------------------------- */
|
||||||
|
.hide{display:none;}
|
||||||
|
|
||||||
|
.thmbs{cursor:pointer;}
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.embed-iframe{
|
.embed-iframe{
|
||||||
width:100%;
|
width:100%;
|
||||||
|
|
|
@ -10,7 +10,9 @@ Your browser does not support the audio element.
|
||||||
</audio>
|
</audio>
|
||||||
{{/item.audio}}
|
{{/item.audio}}
|
||||||
{{#item.video}}
|
{{#item.video}}
|
||||||
<video controls>
|
<img class="thmbs" src="{{item.thumbnail}}" onclick="$(this).siblings().fadeIn( 'slow' );$(this).addClass('hide')">
|
||||||
|
|
||||||
|
<video controls style="display:none">
|
||||||
<source src="http://storage.arkiwi.org/{{item.identifier}}" type="video/ogg">
|
<source src="http://storage.arkiwi.org/{{item.identifier}}" type="video/ogg">
|
||||||
<source src="#" type="video/mpeg">
|
<source src="#" type="video/mpeg">
|
||||||
Your browser does not support the audio element.
|
Your browser does not support the audio element.
|
||||||
|
|
Loading…
Reference in a new issue