/
vkvideoplugin.xml
39 lines (39 loc) · 1.97 KB
/
vkvideoplugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="content">
<name>VK video plugin</name>
<author>Alexandr Sudakov</author>
<creationDate>June 2013</creationDate>
<copyright>Enjoy it</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>cygakob@gmail.com</authorEmail>
<authorUrl></authorUrl>
<version>1.0</version>
<description>
<![CDATA[
<p>This plugin embeds VK videos into articles simply by copying and pasting part of the video code between the vkvideo tags: {vkvideo}iframe parameters{/vkvideo}. For example for <a href="http://vk.com/video425890_164868700">video</a>:<br/>
click on "share video" -> "get video code" (or "<%gt;" angles at the top right corner of currently playing video)<br/>
You'll find embed code:<br/>
<iframe src="http://vk.com/video_ext.php?oid=32194266&id=162925554&hash=7d8c2e0d5e05aeaa&hd=1" width="607" height="360" frameborder="0"></iframe>
<br/>
Which you turn into text in the article:<br/>
{vkvideo}src="http://vk.com/video_ext.php?oid=32194266&id=162925554&hash=7d8c2e0d5e05aeaa&hd=1" width="607" height="360" frameborder="0"{/vkvideo}<br/>
<br/>
You can find more information at <a href="https://github.com/cyga/vk-video-joomla-plugin">https://github.com/cyga/vk-video-joomla-plugin</a>.
</p>
<p>Don't forget to enable plugin (Toolbar: Extension -> Plug-in Manager -> switching the button from red to green).</p>
]]>
</description>
<files>
<filename plugin="vkvideoplugin">vkvideoplugin.php</filename>
</files>
<config>
<fields name="params">
<fieldset name="basic">
<!-- Default width & height, frameborder?
<field name="width" type="text" default="425" label="Width" description="Width of the video. Default width is 425 pixels." />
<field name="height" type="text" default="344" label="Height" description="Height of the video. Default height is 344 pixels." />
-->
</fieldset>
</fields>
</config>
</extension>