- Joined
- Oct 30, 2019
- Messages
- 7
- Points
- 13
Reputation:
Could anyone help me how can I code a new device? I would like to submit videos from this video sharing platform named indavideo.hu
I tried to do it but I couldn't.
I wrote the xml file like this but I couldn't write the php properly.
I tried to do it but I couldn't.
I wrote the xml file like this but I couldn't write the php properly.
<?xml version="1.0" encoding="utf-8"?>
<service>
<key>inda</key>
<type>video</type>
<name>Indavideo</name>
<url><![CDATA[https://www.indavideo.hu/video/{sval1}]]></url>
<regex><![CDATA[https?://[\w\.]*?indavideo\.[a-z]+/video/(?P<sval1>[\w]+)]]></regex>
<embed><![CDATA[<iframe width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen src="//www.indavideo.hu/embed/video/{sval1}?autoPlay={ap10}"></iframe>]]></embed>
<callback>EWR\Medio\Api\Indavideo</callback>
</service>
<service>
<key>inda</key>
<type>video</type>
<name>Indavideo</name>
<url><![CDATA[https://www.indavideo.hu/video/{sval1}]]></url>
<regex><![CDATA[https?://[\w\.]*?indavideo\.[a-z]+/video/(?P<sval1>[\w]+)]]></regex>
<embed><![CDATA[<iframe width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen src="//www.indavideo.hu/embed/video/{sval1}?autoPlay={ap10}"></iframe>]]></embed>
<callback>EWR\Medio\Api\Indavideo</callback>
</service>