Инструменты пользователя

Инструменты сайта


wiki:help:plugin:vshare

Это старая версия документа!


plugin:vshare

Описание

Позволяет вставлять проигрывание видео .через видео-сервисы типа ютуб. Не позволяет просматривать локальные видео-файлы с сервера.

This plugin allows you to embed flash video players from various video sharing sites. New services can be added by just editing a config file. This is not for displaying local video files.

для админа

Синтаксис и использование

The basic syntax looks like this: {{videosite>videoid?size|title}}. Where videosite is one of the identifiers listed below, and videoid is the identifier of the video at the respective site. The size parameter is optional. You can either give it in the form widthxheight like 500×300, or use the keywords small, medium or large. The title is optional as well. The video can be aligned by adding spaces on the left or right inside the curly brackets (like in the image syntax).

A toolbar button pops up a prompt where you can simply paste the full URL to the page of the video you want to embed. The plugin will then try to figure out the video ID by itself.

Примеры

Показать видео с YouTube :

{{youtube>L-WM8YxwqEU}}

Показать большой плеер:

{{youtube>L-WM8YxwqEU?large}}

Выравнивание по правому краю :

{{ youtube>L-WM8YxwqEU}}

Показать маленький плеер по центру :

{{ youtube>L-WM8YxwqEU?small }}

Показать маленький плеер по центру с заголовком :

{{ youtube>L-WM8YxwqEU?small |Some funny video}}

Установить другие размеры - 200 на 100 (не рекомендуется):

{{ youtube>L-WM8YxwqEU?200x100}}  

Примеры 2 (мод.Только для YouTube)

Другие размеры (не рекомендуется) + воспроизведение со 120 секунды:

{{ youtube>L-WM8YxwqEU?200x100x120}}  

Воспроизведение со 120 секунды:

{{ youtube>L-WM8YxwqEU?120}}  

Поддерживаемые сервисы

Identifier Сайт Примечания
12seconds 12 Seconds
5min 5min
bambuser Bambuser The video ID is in the embed code, not in the URL
bliptv Blip.TV You get the correct id when choosing to embed for wordpress.com:
blogtv BlogTV
break Break The ID is in the embed code:
clipfish Clipfish
current Current
dailymotion Daily Motion
googlevideo Google Video
gtrailers GameTrailers
justintv Justin.TV
metacafe MetaCafe
myspacetv MySpaceTV
rcmovie RCMovie
revver Revver
scivee Scivee.tv
sevenload Sevenload
slideshare Slideshare The ID is not in the URL. Choose «more share options» and use the doc parameter from the wordpress embed code:
stickam Stickam
ustream Ustream.TV
veoh Veoh
viddler Viddler Use the wordpress.com embed code:
vimeo Vimeo The video id is the number after http://vimeo.com/
youtube YouTube

Additional sites can be added to the sites.conf file in the plugin directory. Video ID recognition patterns for the toolbar button are configured in sites.js.

wiki/help/plugin/vshare.1366665525.txt.gz · Последние изменения: 2013/04/23 00:18 (внешнее изменение)

На главную страницу Обучение Wikipedia Тестирование Контакты Нашли ошибку? Справка

Записаться на занятия

Ошибка Записаться на занятия к репетитору

Телефоны:

  • +7 (910) 874 73 73
  • +7 (905) 194 91 19
  • +7 (831) 247 47 55

Skype: eduVdom.com

закрыть[X]
Наши контакты