Changeset 106514 in spip-zone


Ignore:
Timestamp:
Oct 5, 2017, 1:02:47 PM (23 months ago)
Author:
cedric@…
Message:

La fonction inc_oembed_recuperer_url prend 3 arguments, respecter pour eviter une erreur fatale avec certaines versions de PHP

Location:
_plugins_/oembed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/oembed/input/posttraite_youtube_video.php

    r99242 r106514  
    3434                and $v = parametre_url($url_orig, 'v')){
    3535                $oembed_recuperer_url = charger_fonction('oembed_recuperer_url', 'inc');
    36                 if ($infos = $oembed_recuperer_url("http://www.youtube.com/get_video_info?html5=1&video_id=".$v)){
     36                if ($infos = $oembed_recuperer_url("http://www.youtube.com/get_video_info?html5=1&video_id=".$v,'','')){
    3737                        $infos = explode('length_seconds=',$infos);
    3838                        if ($duree = intval(end($infos))){
  • _plugins_/oembed/paquet.xml

    r106493 r106514  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="1.8.11"
     4        version="1.8.12"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.