Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
wiki:help:plugin:vshare [2016/09/09 00:38] ¶ change version of plugin |
wiki:help:plugin:vshare [2025/05/06 20:11] (текущий) ¶ [Примеры только для YouTube] |
||
---|---|---|---|
Строка 8: | Строка 8: | ||
[[private:admin:wiki:plugin:vshare:|для админа]] | [[private:admin:wiki:plugin:vshare:|для админа]] | ||
- | ===== Синтаксис и использование ===== | + | ===== Примеры ===== |
+ | ==== Примеры RuTube ==== | ||
+ | Воспроизведение со 63 секунды: | ||
+ | {{rutube>dc577f740ce5cd7717c2b4c359bfa6dd?63}} | ||
- | The basic syntax looks like this: ''%%{{%%//videosite//>//videoid//?//parameter1¶meter2//|title%%}}%%'' | + | Воспроизведение со 63 секунды: |
- | * Where ''//videosite//'' is one of the identifiers listed in [[#Supported Services]] chapter | + | {{rutube>dc577f740ce5cd7717c2b4c359bfa6dd?t=63}} |
- | * 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 | + | Воспроизведение со 120 по 130 секунды: FIXME — требуется тестирование [[https://rutube.ru/info/embed/|]] |
+ | {{rutube>dc577f740ce5cd7717c2b4c359bfa6dd?120-130}} | ||
- | === Parameters === | + | ==== Примеры VK Видео) ==== |
+ | ''t'' --- [[https://dev.vk.com/ru/widgets/video/|Отметка времени]], начиная с которого, будет воспроизводится видео. Указывается в формате ''00h00m00s'', где ''h'' — часы, ''m'' — минуты, ''s'' - секунды. | ||
+ | {{vk>video446669285_456239261?t=2m2s}} | ||
- | * The ''//size//'' parameter is the best supported parameter. You can either give it in the form: | + | ==== Примеры только для YouTube ==== |
- | * ''//width//x//height//'' like ''500x300'' | + | Воспроизведение со 120 по 130 секунды: |
- | * or use the keywords ''small'', ''medium'' or ''large'' | + | {{youtube>L-WM8YxwqEU?120-130}} |
- | * 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) | + | |
- | ===== Примеры ===== | + | Воспроизведение со 120 секунды: |
+ | {{ youtube>L-WM8YxwqEU?120}} | ||
+ | |||
+ | === YouTube: другое === | ||
+ | |||
+ | Установить другие размеры - 200 на 100 (//**не** рекомендуется//): | ||
+ | {{ youtube>L-WM8YxwqEU?200x100}} | ||
+ | |||
+ | Другие размеры (//**не** рекомендуется//) + воспроизведение со 120 секунды: | ||
+ | {{ youtube>L-WM8YxwqEU?200x100x120}} | ||
+ | |||
+ | |||
+ | ==== Примеры универсальные ==== | ||
Показать видео с YouTube : | Показать видео с YouTube : | ||
{{youtube>L-WM8YxwqEU}} | {{youtube>L-WM8YxwqEU}} | ||
Строка 46: | Строка 54: | ||
Показать маленький плеер по центру с заголовком : | Показать маленький плеер по центру с заголовком : | ||
{{ youtube>L-WM8YxwqEU?small |Some funny video}} | {{ 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: | 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}} | {{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}} | + | |
+ | The basic syntax looks like this: ''%%{{%%//videosite//>//videoid//?//parameter1¶meter2//|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: | ||
+ | * ''//width//x//height//'' like ''500x300'' | ||
+ | * 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) | ||
+ | |||
===== Поддерживаемые сервисы ===== | ===== Поддерживаемые сервисы ===== | ||
**Примечание:** ссылки сделаны неактивными. | **Примечание:** ссылки сделаны неактивными. |