About XMTV Player › Forums › Development › implementing "host links"..?
This topic contains 13 replies, has 3 voices, and was last updated by support 1 year, 2 months ago.
-
AuthorPosts
-
2 June 2015 at 14:58 #981
Hi dear support and thank you for the great work you’ve done on XMTV Player

I would love if you could possibly consider adding this very interesting feature (and maybe better it making it possible also from m3u playlists):Host links are those which not link directly to a video file but a website, that belongs to a video hosting’s server (host), where the playback is done.
Example:To load these kind of links we’ll have to add the same fields as in the direct links, plus 2 extra fields.
“isHost“: “true” (To indicate a Wiseplay we want to load a Host link)
“referer“: If a video is protected and configured to play exclusively from a determined website, we enter here the permitted link.Syntax:
{
“name”: “Time Lapse”,
“image”: “http://www.logoeps.com/wp-content/uploads/2014/06/vimeo-icon-vector.png”,
“url”: “https://vimeo.com/123754073″,
“isHost”: “true”
},{
“name”: “Drone Valley”,
“image”: “http://www.performanceproductionservices.com/wp-content/uploads/2012/06/logo-dailymotion-square.png”,
“url”: “http://www.dailymotion.com/video/x2jvjlu_captivating-monument-valley-landscape-filmed-by-a-drone_fun”,
“isHost”: “true”
}Thank you again, regards!
2 June 2015 at 19:54 #982Hi there i might be wrong but WebView does have it already and you can make stand alone app, even as a plugin combined together, have a look on weebtv plugin sample. You have already webview method as an autorisation.
Try this way if it helps. If you need further assistance let me know.
Regards SuperUser.What you need is simple parser for Json, and Api hosted somewhere else online. So you can add/remove links.
3 June 2015 at 06:39 #983What you think will be better to embed WebView to play Vimeo & Dailymotion videos, or play direct with internal xmtv player?
3 June 2015 at 17:52 #984Thank you for replying, and I apologize for not having been clear enough..
what I wanted to explain is a feature (which is also in Wiseplay) that if a linkexample:
http://janjua.tv/embedplayer/trymobilech5/3/550/380
is not direct but hosts the playable link:
rtmp://$OPT:rtmp-raw=rtmp://46.28.53.160/live playpath=trymobilech5?id=37812&pk=a0f754604c6bafb2cf447b75c33a9560d31354df7538d9e27b81151cc262c437 swfUrl=http://www.janjuaplayer.com/resources/scripts/eplayer.swf live=1 pageUrl=http://www.janjuaplayer.com/embedplayer/trymobilech5/1/550/380 Conn=S:OK
(this link can’t be played by XMTV Player because of the “pk=” key.. but this is another story)
can be played anyway by Wiseplay only having this informations:
#EXTM3U
#EXTINF:-1,CH 5http://janjua.tv/embedplayer/trymobilech5/3/550/380
referrer=http://hostingtv.org/Ch5.php
isHost=trueso it will extract and play the rtmpOPT link
is it possible to implement this also in XMTV Player?thank you and cheers :)!
3 June 2015 at 19:41 #985Hi, can you share some url to wiseplay playlist
Regards3 June 2015 at 22:19 #987sure, here are two links that Wiseplay opens:
http://maxim.besaba.com/test.wise
http://maxim.besaba.com/test.m3u
also pastebin.com links are supported,
hope this help you4 June 2015 at 16:32 #988Thanks for info. We will add this functionality in next few days.
sure, here are two links that Wiseplay opens:
http://maxim.besaba.com/test.wise
http://maxim.besaba.com/test.m3u
also pastebin.com links are supported,
hope this help you4 June 2015 at 18:45 #989Thank you very much

If there is anything you need or I can do to help you, I would love to-
This reply was modified 1 year, 2 months ago by
maxim.
6 June 2015 at 06:57 #991Hi maxim, did you ever tried to play this link in any other app SimpleTV or Vlc?
I am not sure how to implement it to get actual parameters to make this wise video playable?
If you have found the way please share with us.
I have installed viseplay and i am able to download list but how did You play over viseplay?
Its not english, and its hard for me to find a play function…
Thanks, SuperUser.
6 June 2015 at 08:48 #993Hi guys,
Mentioned links will be able to be played with following syntax in m3u playlist
httphost://$http-raw=$http-refferer= also you will be able to play in rtmp://$OPT:rtmp-raw= way (you must just keep pk parameters in playpath)
rtmp://$OPT:rtmp-raw=rtmp://xxx.xxx.xxx.xxx/live playpath=
?id= &pk= swfUrl=http://www.xxxxxxx.com/resources/scripts/eplayer.swf
live=1 pageUrl=http://www.xxxxxxxxxxx.com/embedplayer//1/550/380 Conn=S:OK Please let me know if you have other ideas about links format
Cheers
7 June 2015 at 16:30 #997Thank you!
Very fast and professional :)!Some ideas you could consider in the future are sopcast and acestream links and the compatibility with “group title” m3u lists,
here are some examples:#EXTINF:-1 group-title=” XXX”,[COLOR red]XXX[/COLOR]
–
#EXTINF:-1 group-title=” XXX,CH 1
sop://broker.sopcast.com:3912/150000
#EXTINF:-1 group-title=” XXX,CH 2
acestream://c35dafc91da50ede14952b63c5d904861af33d11but thi isn’t a request, just suggestions..
I’m satisfied with host links and I’m looking forward for the release of the update
Thank you again and cheers :)!9 June 2015 at 06:04 #1055Hi, bellow link is test version which may contain some bugs, please make test.
XMTV Player (2.0.9.6.9.3 NightBuild) (Edited)
Here is format of dailymotion & vimeo video links, please do not add extra info at the Urls
http://www.dailymotion.com/video/<strong>VideoID</strong>
https://vimeo.com/<strong>VideoID</strong>format for hosted Urls is
httphost://$http-raw=<em>[URL]</em>$http-refferer=<em>[URL]</em>Regarding acestream, I make some tests, but after all, there is some issues with connection. If you have some experience with it, it will be great if you can help me.
Cheers
9 June 2015 at 14:43 #1060I’ve tested the new version and host links are working perfectly with and without referrer, also better than Wiseplay, good job!
also I had no doubts about it
and about acestream links sorry but I haven’t any experience, I only know that Slim TV (on Play Store) and maybe Wiseplay can play them, if that can help you in any wayThank you guys!
9 June 2015 at 17:43 #1074New version 2.0.9.6.9.3 is just rollout, there is some fixed issues from Alpha release.
Please let me know if you have any issues. Thanks for your time and help to build high quality app.Cheers
-
This reply was modified 1 year, 2 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.