Se ha producido un error al procesar la plantilla.
Invocation of method 'addMetaTag' in class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception XYZ_E_INVALID_VELOCITY_META_TAGS_MAP_ZYX:Invalid parameters K: 'content' V: 'null' [file IterVelocityTools.java, method addMetaTag, line 831] at 21658/F/CW_VIDEODETAILPLAYER[line 5, column 20]
1##----cw_videodetailPlayer----
2#set($ogimage = {})
3#set($temp = $ogimage.put("property","og:image"))
4#set($temp = $ogimage.put("content",$VideoPoster.data))
5$iterVelocityTools.addMetaTag( $ogimage )
6
7#set($twitter = {})
8#set($temp = $twitter.put("name","twitter:image"))
9#set($temp = $twitter.put("content",$VideoPoster.data))
10$iterVelocityTools.addMetaTag( $twitter )
11
12<div id="jwPlayerVideoDetail" style="width: 100%;">Loading the player...</div>
13<div class="container-fluid nopadding">
14 <div class="container nopadding">
15 <div class="novideo-source-container">
16 <div class="novideo-source-flexcontianer">
17 <div class="novideo-source-icon">
18 <i class="fa fa-video-camera" aria-hidden="true"></i>
19 </div>
20 <div class="novideo-source-text">Si è verificato un errore durante il tentativo di riproduzione, il video richiesto potrebbe essere stato rimosso o temporaneamente non disponibile</div>
21 </div>
22 </div>
23 </div>
24</div>
25<script src="https://cdn.jwplayer.com/libraries/DxuJeYCi.js" type="text/javascript"></script>
26<script type="text/javascript">
27
28
29var player = jwplayer("jwPlayerVideoDetail").setup({
30 "sources": [{
31 "file": "#getVideoSource"
32 }],
33 "image": "#getVideoPoster",
34 "primary": "flash",
35 "advertising": {
36 client: 'vast',
37 schedule: {
38 adbreak1: {
39 offset: "pre",
40 tag: 'https://secure.adnxs.com/ptv?id=14431423&referrer=teleticino.ch&kw_position=instream,pre-roll'
41 },
42 adbreak2: {
43 offset: "50%",
44 tag: 'https://secure.adnxs.com/ptv?id=14461017&referrer=teleticino.ch&kw_position=instream,mid-roll'
45 }
46 }
47 },
48 "aspectratio": "28:9",
49 "autostart": true
50 }).on('error', function(msg){
51 console.log(msg);
52 $('#jwPlayerVideoDetail').empty();
53 $('.novideo-source-container').css("display", "block");
54 });
55
56
57player.on('adRequest', function(e){
58 if(e.adposition === "mid"){
59 if(player.getDuration() < 600){
60 player.skipAd();
61 }
62 }
63});
64
65</script>