#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0

    Get video inside project


    Hi all, I have a Javascript in which I have a folder named "Video" contains 2 clips: A1.mp4 and A2.mp4. In the videoList.xml I have an item:

    <item>
    <title>Test1</title>
    <link>htt*:19*.16*.1*.1*</link>
    </item>


    But now, I don't want to use this link. It should be better if I can call the clip in location ../video/A1.mp4. How can I modify the xml file to do that? Thanks for your help.
    I hide the link due to no permission to post URLs.
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    So make the <link> be the URL for the video...
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0

    Hi requinix


    Originally Posted by requinix
    So make the <link> be the URL for the video...
    But what is URL for this video? Because it is embedded inside the project and would be packaged to put into SmartTV, no Internet, no server so it has no URL. The only thing I can think about is assign the path of this video to item but I don't know how to do that
  6. #4
  7. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    You haven't described the project, the XML, or what the XML is used for. All I can do is guess.

    Go ahead and try ../video/A1.mp4. For all I know that might work.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2014
    Posts
    3
    Rep Power
    0
    Originally Posted by requinix
    You haven't described the project, the XML, or what the XML is used for. All I can do is guess.

    Go ahead and try ../video/A1.mp4. For all I know that might work.
    Sorry for unclear description. Here is the capture of the project, as mentioned above, I have ever tried ../video/A1.mp4 but still not work

    ht*p://farm8.staticflickr.com/7453/11939036634_049aa891f9_o.jpg

    Sorry because I cannot insert image right here due to no permission. Thanks

IMN logo majestic logo threadwatch logo seochat tools logo