Harsh
Harsh

Reputation: 356

playing video in Samsung smart tv app

I am creating a samsung smart tv application which can play videos from a list. Right now i am working on this example provided on samsungdforum. The examples runs fine on smart tv emulator 2013 But when i click on play button , it does not plays the video.

These messages appear in debugger

 [JS ALERT]:  success vale :  true
 [JS ALERT]:  success vale :  true
 [JS ALERT]:  Volume : 40
 [JS ALERT]:  Volume : 40
 [JS ALERT]:  URL = 'http://10.88.73.33/Video/Argentina.mp4'
 [JS ALERT]:  Key pressed: 71
 [JS ALERT]:  PLAY
 [JS ALERT]:  Play
 [JS ALERT]:  returnig state =1
 [JS ALERT]:  play btn clicked 
 [JS ALERT]:  URL = http://10.88.73.33/Video/Argentina.mp4
 [JS ALERT]:  Play

The "Argentina.mp4" video is in my videos folder.

What am I doing wrong ? is the URl or any other thing? Please guide me towards right direction.

Thanks

Upvotes: 1

Views: 3427

Answers (1)

Moonwalker
Moonwalker

Reputation: 3802

There are a few problems.

  1. the URL normally should be of the following format http:// - take a look at your videosList.xml and clean it up

  2. try this url in a browser - it does not work!

What you need to do is modify your videosList.xml to code an ABSOLUTE path to the video files - they are most likely included in your project

Upvotes: 1

Related Questions