Changeset 75238 in spip-zone


Ignore:
Timestamp:
Sep 3, 2013, 10:06:40 AM (6 years ago)
Author:
kent1@…
Message:

Répare l'oEmbed cassé suite aux modif d'embed_code

mediaspip_core nécessite mediaspip_player

Location:
_squelettes_/mediaspip/mediaspip_core/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/mediaspip/mediaspip_core/trunk/oembed/output/modeles/media-audio.json.html

    r71886 r75238  
    1515[(#SET{json,[(#GET{json}|array_merge{
    1616        [(#ARRAY{
    17                 html,[(#MODELE{embed_doc_player,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
     17                html,[(#MODELE{embed_doc_player,objet=document,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
    1818                thumbnail_url,[(#GET{thumbnail}|extraire_attribut{src}|url_absolue)],
    1919                thumbnail_width,[(#GET{thumbnail}|extraire_attribut{width})],
  • _squelettes_/mediaspip/mediaspip_core/trunk/oembed/output/modeles/media-image.json.html

    r71886 r75238  
    1515[(#SET{json,[(#GET{json}|array_merge{
    1616        [(#ARRAY{
    17                 html,[(#MODELE{embed_doc_player,download=non,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
     17                html,[(#MODELE{embed_doc_player,objet=document,download=non,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
    1818                thumbnail_url,[(#GET{thumbnail}|extraire_attribut{src}|url_absolue)],
    1919                thumbnail_width,[(#GET{thumbnail}|extraire_attribut{width})],
  • _squelettes_/mediaspip/mediaspip_core/trunk/oembed/output/modeles/media-texte.json.html

    r71886 r75238  
    1515[(#SET{json,[(#GET{json}|array_merge{
    1616        [(#ARRAY{
    17                 html,[(#MODELE{embed_doc_player,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
     17                html,[(#MODELE{embed_doc_player,objet=document,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
    1818                thumbnail_url,[(#GET{thumbnail}|extraire_attribut{src}|url_absolue)],
    1919                thumbnail_width,[(#GET{thumbnail}|extraire_attribut{width})],
  • _squelettes_/mediaspip/mediaspip_core/trunk/oembed/output/modeles/media-video.json.html

    r71886 r75238  
    1111[(#SET{json,[(#GET{json}|array_merge{#ARRAY{author_url,[(#URL_AUTEUR|url_absolue)]}})]})]
    1212]</BOUCLE_auteurs>
    13 <BOUCLE_doc(DOCUMENTS){id_article}{mode IN document}{0,1}>
     13<BOUCLE_doc(DOCUMENTS){id_article}{media = video}{0,1}>
    1414[(#SET{thumbnail,[(#LOGO_DOCUMENT|image_reduire{[(#ENV{thumbnail_width,#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}}})],[(#ENV{thumbnail_height,#ENV{maxwidth,#CONFIG{oembed/maxheight,295}}})]})]})]
    1515[(#SET{json,[(#GET{json}|array_merge{
    1616        [(#ARRAY{
    17                 html,[(#MODELE{embed_doc_player,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
     17                html,[(#MODELE{embed_doc_player,objet=document,download=non,buffer=10,id_document,largeur=#ENV{maxwidth,#CONFIG{oembed/maxwidth,480}},hauteur=#ENV{maxheight,#CONFIG{oembed/maxheight,295}},env}|liens_absolus|trim)],
    1818                thumbnail_url,[(#GET{thumbnail}|extraire_attribut{src}|url_absolue)],
    1919                thumbnail_width,[(#GET{thumbnail}|extraire_attribut{width})],
  • _squelettes_/mediaspip/mediaspip_core/trunk/paquet.xml

    r74742 r75238  
    4141        <necessite nom="embed_code" compatibilite="[0.1.0;[" />
    4242        <necessite nom="comments" compatibilite="[3.2.2;[" />
    43        
     43        <necessite nom="mediaspip_player" compatibilite="[1.4.6;[" />
     44
    4445        <lib nom="jquery.svg.package-1.4.4" lien="http://keith-wood.name/zip/jquery.svg.package-1.4.4.zip" />
    4546
Note: See TracChangeset for help on using the changeset viewer.