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

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


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?parameter1&parameter2|title}}

  • Where videosite is one of the identifiers listed in Supported Services chapter
  • and videoid is the identifier of the video at the respective site
  • The parameters are optional. You start these with a ? and separate more of them by a &. Look in Parameters chapter
  • The title is optional as well. Look in Examples chapter
  • The video can be aligned by adding spaces on the left or right inside the curly brackets (like in the image syntax). Look in Examples chapter

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

Parameters

  • The size parameter is the best supported parameter. You can either give it in the form:
    • widthxheight like 500×300
    • or use the keywords small, medium or large
  • Some other additional parameters are supported (depending on video service) as well:
    • Start point of video: &start=<seconds> (YouTube, DailyMotion) or &initial_time=<seconds> (TwitchTV)
    • End point of video segment: &end=<seconds> (YouTube)
    • Auto play: &autoplay=1 (Vimeo, YouTube, DailyMotion, Bambuser) or &ap=1(MetaCafe)
    • Do not show related videos when playback ends: &rel=0 (YouTube)
    • Start slide: &startSlide=5 (SlideShare)

Примеры

Показать видео с 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}}  

Some other additional parameters are supported (depending on video service) as well:

{{youtube>L-WM8YxwqEU?small&start=30&end=45|A random segment of 15 seconds}}

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

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

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

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

{{ youtube>L-WM8YxwqEU?120}}  

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

Примечание: ссылки сделаны неактивными.

Copy paste the video url in the toolbar pop-up prompt to generate the syntax

Identifier Website Supported parameters
5min 5min.com 5min
archiveorg archive.org Archive.org
bambuser bambuser.com Bambuser autoplay
bliptv blip.tv Blip.TV
break break.com Break
clipfish clipfish.de Clipfish
dailymotion dailymotion.com Daily Motion start
gtrailers gametrailers.com GameTrailers
metacafe metacafe.com MetaCafe ap
msoffice office.microsoft.com/en-us/support/training-FX101782702.aspx Microsoft Office Training
myspacetv vids.myspace.com MySpaceTV
rcmovie rcmovie.de RCMovie
scivee scivee.tv Scivee.tv
twitchtv twitch.tv Twitch.tv chapter_id, initial_time
slideshare slideshare.com Slideshare startSlide
ustream ustream.tv Ustream.TV
veoh veoh.com Veoh
viddler viddler.com Viddler offsetTime
vimeo vimeo.com Vimeo autoplay
youtube youtube.com YouTube start, end, rel, autoplay

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.txt · Последние изменения: 2016/09/09 00:38 —

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

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

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

Телефоны:

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

Skype: eduVdom.com

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