Modèle:LigneVideo : Différence entre versions

Ligne 7 : Ligne 7 :
  
 
<includeonly>
 
<includeonly>
<div style="float:left;padding:0 15px 0 0;width:20%; ">{{#widget:Video|width=100%|url=http://rhinedits-stream.di.unistra.fr/Films/{{#if:{{{video|}}}|{{{video}}}|{{#cargo_query:table=Supports
+
<div style="float:left;padding:0 15px 0 0;width:20%; ">{{#widget:Video|width=100%|url=http://rhinedits-stream.di.unistra.fr/Films/{{#if:{{{video|}}}|{{{video}}}|
 +
{{#cargo_query:table=Supports
 
|fields=video
 
|fields=video
 
|where=id_support='{{{id support}}}'
 
|where=id_support='{{{id support}}}'
|group by=id_support}}}}.mp4|start={{{timecode|0}}}|end={{#expr:{{{timecode|0}}}+{{{duree|1000}}} }}|urlposter={{filepath:{{#if:{{{apercu|}}}|{{{apercu}}}|Roue.jpg}} }} }}</div>
+
|group by=id_support}}
 +
}}.mp4|start={{{timecode|0}}}|end={{#expr:{{{timecode|0}}}+{{{duree|1000}}} }}|urlposter={{filepath:{{#if:{{{apercu|}}}|{{{apercu}}}|Roue.jpg}} }} }}</div>
 
[[{{{_pageName}}}|{{{titre}}}]] ({{#time:Y|{{{date_debut|}}}}})  <br>'''Fonds [[{{{fonds}}}]], réalisé par [[{{{realisateurs}}}]]''' {{#if:{{{resume-{{int:lang}}|}}}|<br>{{{resume-{{int:lang}}}}}<br>|}}
 
[[{{{_pageName}}}|{{{titre}}}]] ({{#time:Y|{{{date_debut|}}}}})  <br>'''Fonds [[{{{fonds}}}]], réalisé par [[{{{realisateurs}}}]]''' {{#if:{{{resume-{{int:lang}}|}}}|<br>{{{resume-{{int:lang}}}}}<br>|}}
 
<br clear=all>
 
<br clear=all>
 
</includeonly>
 
</includeonly>

Version du 21 septembre 2018 à 13:07

{{{video}}}

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `video` AS `video` FROM `A_cargo__Supports` WHERE id_support='{{{id support}}}' GROUP BY `id_support` ORDER BY `video` LIMIT 100 Function: CargoSQLQuery::run Error: 1054 Unknown column 'id_support' in 'where clause' (bdd10.u-strasbg.fr)