Online videos & swf (1 Viewer)

bingo974

New Member
December 5, 2010
2
0
Home Country
Hello,

I tried to import videos from megaupload but it didn't work beacause of the swf player...

here is my configuration xml file:

<Site name="xxxxxx" util="GenericSite" agecheck="false" enabled="true" player="Internal" lang="fr">
<Configuration>
<item key="videoListRegEx"><![CDATA[<a\sclass='affiche_lien'\shref='(?<VideoUrl>[^']*)'><img\ssrc='(?<ImageUrl>[^']*)'\sclass='affiche'\salt="(?<Title>[^"]*)"]]></item>
<item key="videoListRegExFormatString"><![CDATA[http://xxxxxx.com{0}]]></item>
<item key="fileUrlRegEx"><![CDATA[&amp;v=(?<m0>[^']*)]]></item>
<item key="fileUrlFormatString"><![CDATA[http://wwwstatic.megavideo.com/mv_player.swf?v={0}]]></item>
<item key="baseUrl"><![CDATA[http://wwwstatic.megavideo.com/]]></item>
</Configuration>



If the .flv or .avi file is hidden, how can i open the swf file into media portable. I tried to change "External player" with "SWF Opener" into the setup. Nothing happened...

Thx for your help :)
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,620
    3,028
    Nuenen
    Home Country
    Netherlands Netherlands
    Don't quite understand what you're trying to do.
    There is no categoryregex in your configuration, and wwwstatic.megavideo.com gives me a 403 (Forbidden), so I don't have the possibility to check things, or give a well-thought answer.

    In the try&hope it works part: you could add
    Code:
    <item key="resolveHoster"><![CDATA[True]]></item>
     

    bingo974

    New Member
    December 5, 2010
    2
    0
    Home Country
    Thanks guys for your quick answers !!!

    Here's my code :
    <Sites>
    <Site name="Lookiz" util="GenericSite" agecheck="false" enabled="true" player="Internal" lang="fr">
    <Configuration>
    <item key="videoListRegEx"><![CDATA[<a\sclass='affiche_lien'\shref='(?<VideoUrl>[^']*)'><img\ssrc='(?<ImageUrl>[^']*)'\sclass='affiche'\salt="(?<Title>[^"]*)"]]></item>
    <item key="videoListRegExFormatString"><![CDATA[http://lookiz.com{0}]]></item>
    <item key="fileUrlRegEx"><![CDATA[&amp;v=(?<m0>[^']*)]]></item>
    <item key="fileUrlFormatString"><![CDATA[http://wwwstatic.megavideo.com/mv_player.swf?v={0}]]></item>
    <item key="baseUrl"><![CDATA[http://wwwstatic.megavideo.com/]]></item>
    </Configuration>
    <Categories>
    <Category xsi:type="RssLink" name="megavideo">http://lookiz.com/films/plateforme/megavideo</Category>
    </Categories>
    </Site>

    When I clic on the thumbnail, mediaportal start downloading but the cache stop at 40% and return an error "can't download file ?v=70GKEMJN". There's no baseUrl... Evenif in the Generic Site Creator program returns me back the correct adress: MEGAVIDEO - I'm watching it.

    I'll try your solutions tonight !


    Thx for your help !:D
     

    Users who are viewing this thread

    Top Bottom