So that’s what I did because it is way easier like that. Though you’re right, there may be a way to find the URL to the video using their player. Not sure though, if it’s happening somewhere else I don’t know how I could find it. Let’s see…Hm, the player “flashvars” have a crapload of URLs but I don’t see any that could be useful… If it can’t be extracted from the page I don’t know how it could be figured out.
Yes and no. I am trying to write the same plugin for PlayOn and they do not support anythink like “WebVideo” so my alternative is to reverse engineer the SWF and figure out the feed encryption. I am sure it comes from there since if you look in the referer field you can see it. My experience with other websites is that the really good stuff is hidden in the player, the key here is the videoId, I believe.
I’ll let you know if I make any breakthrough since my findings could directly be applied to your plugin as well.
Yeah, if I didn’t have the WebVideo element I don’t know how the plugin would work, but since I have it and it works like that, well…I didn’t see the need to search for another way. Sure, there are some problems like the commercial and seeking, but it’s not that bothering.
Anyway, if you find something interesting, don’t hesitate to tell us. Having a direct URL to the video is always better.
Actually, I was curious as well why you did not use the soap interface instead of the webservice. I kind of did the same because the SOAP was giving me grief and the XML was extremely easy to parse...
Your solution is probably better (using the player) if you forget about the ad that is probably playing. If they change their player your plugin will still work. I am playing around with RTMP. What I understand is that you need to have a complex URL for the stream to play. The fact that you can play it using WebVideo comfirms that it is possible for you to open a RTMP stream as well.
What I read elsewhere is that (in c#):
url = host + "|<rtmpMedia version=\"1.1\" super=\"1\"><mediaPath>" + path + "</mediaPath></rtmpMedia>";
I know from media catcher that
Downloading RTMP stream:
RTMP App: rtmp://vod-fms.canalplus.fr:443/ondemand?ovpfv=1.1
Media Path: mp4:/ondemand/videos/0909/SALUT_LES_TERRIENS_EMISSION_090926_AUTO_4332_43_video_HD.mp4
I need to figure out what is the host and the path for this particular case.
Ok, the reason why it does not work for me is that the host and RTMP apps are different. Effectively, what it means is that the request needs to be sent to 92.123.70.21 while the rtmp address is vod-fms.canalplus.fr/ondemand. I do not know for you what it means but I cannot produce a solution on PlayOn until they change the API. My only alternative is to use an external program like flvstreamer, or vlc to "restream" it.
Let me know if I was not clear.
By the way, I got it working yesterday for a playOn plugin. If you want to port it to Plex let me know.
Did you manage to get a direct URL to the video? If so, yes, that would be quite interesting to port it to Plex if we can remove the need of a Site Configuration altogether.
Yes I did. Essentially what happens is the following, you build the request for the feed listed in the XML file BUT you have to send it to a different host 92.123.70.21. the rtmp://vod-fms.canaplus.fr/ondemand is still used in the request.
Since my plugin is running in Windoze, I took the lazy approach and did use flvstream which allows to overwrite the host in the request.
Let me know if you need more details.
I never heard of flvstream. Is it a software that only runs on Windows?
Anyway, I’ll see what I can do but I don’t have my Mac with me and the next 3 weeks are pretty much overloaded for me, so it could take a while.
C'est dispo sur osx aussi : http://nongnu.askapache.com/flvstreamer/ il y a aussi les sources si c'est mieux pour toi.. ;)
(On passe au français alors :lol: ?)
De toute façon si ça nécessite d’installer un logiciel additionnel pour pouvoir utiliser le plug-in ça passera jamais à l’App Store, donc bon…De toute façon j’ai pas trop compris ce qu’il fallait faire exactement, le RTMP ça a toujours été un truc flou pour moi. Tu peux me donner un exemple d’une vidéo avec le lien, vers quoi diriger la requête, tout ça ?
(Since it’s a French plugin I guess it’s okay to speak French, but if a moderator thinks the posts should be English-only we’ll revert back to English :).)
EDIT : Here’s a translated version then:
If an external software is needed to use the plugin it will never go on the App Store, so…I didn’t understand what was needed anyway, RTMP has always been a strange concept to me. Can you give me an example of a video with its link, where you need to direct the query, etc?
Please keep it in English (if possible) while "talking" in the main forum. Thanks.
When you look at how "good" French people are in english, I think you limit yourself by asking for the forum to be kept in english. Who has an interest in developing a plugin besides people who would actually watch it ? :)
On a side note, Flvstreamer is available as a lib, so NO you do not need an external program. :)
That been said, a little example as you have requested:
swfUrl âhttp://player.canalplus.fr/embed/flash/CanalPlayerEmbarque.swfâ
tcUrl ârmtp://vod-fms.canalplus.fr:1935/ondemand?ovpfv=1.1″
pageUrl âhttp://www.canalplus.fr/c-humour/pid1784-c-les-guignols.htmlâ
host 92.123.70.21
playpath â/ondemand/videos/0909/LES_GUIGNOLS_QUOTIDIEN_090904_CAN_99566_video_Hâ
So, you still use the url from the xml file but instead of sending it to the host from the xml file you send it to a different host.
Can’t wait for this…Prince’s recent performance on there was incredible - will love it on my TV! B)
Prince really? yuk... by the way the plugin does work as I understand it, you just get the ads. My solution for PlayOn is ads-free.
Hello
Thank you for the canal plus plugin i love it. I’m using it every day.
But since 2days the video are black i just have the sound.
What can i do ?
thx
Just checked to make sure, it works okay for me.
Pretty sure that’s, as usual, a Flash issue. I’ve been using PlexFix for a while to resolve that problem, try it and see if it works for you.
it works thank you … f****k flash 
im trying to get canal plus and or sky sports or any sports channels so i can watch live premiere league, could someone please help in the matter, i am a newbie but can follow good instuctions. thanks in advance
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.