logo fond blanc, youtube autoplay
This commit is contained in:
@@ -70,11 +70,18 @@
|
||||
width:w,
|
||||
height:h,
|
||||
windowSourceID:"#videoframe",
|
||||
functionCallOnClose:true,
|
||||
functionCallAfterClose:function(){
|
||||
$('#videoframe').remove();
|
||||
}
|
||||
// functionCallOnClose:function(){
|
||||
// console.log('overlay closed');
|
||||
// $('#videoframe').remove();
|
||||
// },
|
||||
// functionCallAfterClose:function(){
|
||||
// console.log('overlay closed');
|
||||
// $('#videoframe').remove();
|
||||
// }
|
||||
});
|
||||
|
||||
// autoplay vid youtube
|
||||
// see patch https://www.drupal.org/node/2685721#comment-11032685
|
||||
};
|
||||
|
||||
function onCloseOverlay(){
|
||||
|
||||
@@ -33,7 +33,7 @@ function _clameursmod_getemvidfield(){
|
||||
$data['test'] = "OK";
|
||||
$data['src'] = $_GET['src'];
|
||||
|
||||
$data['embed'] = theme('video_embed_field_embed_code', array('url'=>$data['src']));
|
||||
$data['embed'] = theme('video_embed_field_embed_code', array('url'=>$data['src'], 'style'=>'normal'));
|
||||
|
||||
drupal_json_output($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user