Changeset 102562 in spip-zone


Ignore:
Timestamp:
Jan 29, 2017, 6:44:58 PM (2 years ago)
Author:
brunobergot@…
Message:

réparer les embed de archive.org

je ne suis pas pleinement satifsfait de la taille en fonction du fait qu'on récupère de l'audio ou de la video, mais vu la merde qui est envoyé dans les metas og ou twittruc c'est pas gagné pour faire mieux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugins_seenthis/autoembed/stubs.php

    r102558 r102562  
    165165    'title' => 'Archive.org',
    166166    'website' => 'http://www.archive.org',
    167     'url-match' => 'http://(?:www\.)?archive\.org/download/((?:[0-9a-z_-]*?)/(?:[0-9a-z_-]*?)\.flv)',
    168     'embed-src' => 'http://www.archive.org/flow/FlowPlayerLight.swf?config=%7Bembedded%3Atrue%2CshowFullScreenButton%3Atrue%2CshowMuteVolumeButton%3Atrue%2CshowMenu%3Atrue%2CautoBuffering%3Afalse%2CautoPlay%3Afalse%2CinitialScale%3A%27fit%27%2CmenuItems%3A%5Bfalse%2Cfalse%2Cfalse%2Cfalse%2Ctrue%2Ctrue%2Cfalse%5D%2CusePlayOverlay%3Afalse%2CshowPlayListButtons%3Atrue%2CplayList%3A%5B%7Burl%3A%27$2%27%7D%5D%2CcontrolBarGloss%3A%27high%27%2CshowVolumeSlider%3Atrue%2CbaseURL%3A%27http%3A%2F%2Fwww%2Earchive%2Eorg%2Fdownload%2F%27%2Cloop%3Afalse%2CcontrolBarBackgroundColor%3A%270x000000%27%7D',
    169     'embed-width' => '480',
    170     'embed-height' => '360',
     167    'url-match' => 'http://(?:www\.)?archive\.org/(?:details|embed)/([\d\w\-_][^/\?\#]+)',
     168    'embed-width' => '400',
     169    'embed-height' => '300',
     170    'iframe-player' => 'https://archive.org/embed/$2&playlist=1',
    171171  ),
    172172  array(
Note: See TracChangeset for help on using the changeset viewer.