Modèle:Video : Différence entre versions

Ligne 1 : Ligne 1 :
 +
{{#if:{{{video|}}}|{{{video}}}|{{#cargo_query:table=Supports|fields=video|where=id_support='{{{id support}}}'|group by=id_support}}}}
  
  
 
+
{{#widget:Video|width=100%|url=http://rhinedits-stream.di.unistra.fr/Films/{{{video}}}.mp4|start={{{timecode|0}}}|end={{#expr:{{{timecode|0}}}+{{{duree|1000}}} }}|urlposter={{filepath:{{#if:{{{apercu|}}}|{{{apercu}}}|Roue.jpg}} }} }}
{{#widget:Video|width=100%|url=http://rhinedits-stream.di.unistra.fr/Films/{{#if:{{{video|}}}|{{{video}}}|{{#cargo_query:table=Supports|fields=video|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}} }} }}
 
 
{{{video}}}
 
{{{video}}}

Version du 21 septembre 2018 à 13:48

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)


{{{video}}}