do not start a local media play in a new window

Asked by jian

 I am trying a very big video file in my Xibo client on Ubuntu, the Xibo version 1.4.2. I created a region, and used a webpage to play the local video file ,file:///vedio file, the problem is the file is always playing in a new window but not embedded in the layout, I really don't know how to avoid it. Can anyone help me? thanks a lot.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

You need to use the local video media type for this. Just put the path to
the video file in the media options.

Revision history for this message
jian (huangjian0209) said :
#2

Thank you Alex. We're now trying it as a local video media type, but it's not playing.

What's the correct syntax of the file path?
Like this: //home/username/filename.mp4
or maybe: /home/username/filename.mp4
We tried each, but it still doesn't play.

Our server is Windows-based. Could that be a problem?

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Just /path/to/file.mp4

If it's not working you need to look at the log to see why

Revision history for this message
jian (huangjian0209) said :
#4

Hi, Alex

I checked and found below line in the log file:

LOG: 2013-06-24 14:57:39 (.frameHandle:4497) 1 error A runtime error occurred: '/opt/xibo/pyclient/client/python/%2Fhome%2Fjian%2Fdes.mp4': Error opening file ( Num: -2)

The location of the file is /home/jian/des.mp4
Seems the path is wrong.

Could you please let me know how to solve this?
And do you need the full log file?

Thanks a lot for your help.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Hi

It looks like the server is sending down the video URI encoded. That's
probably just a server side change I missed. I'll patch it and give you a
new file to try.

Alex

Revision history for this message
Best Alex Harrington (alexharrington) said :
#6
Revision history for this message
jian (huangjian0209) said :
#7

Thanks Alex Harrington, that solved my question.

Revision history for this message
Tuan Le Doan (tuan-fetk52) said :
#8

Hi

I don't know what is the local video type? I have a m3u8 file and i want to show live stream on Xibo Client. So how can i show it? Because it's always show on new window.

Thank you!

Revision history for this message
Alex Harrington (alexharrington) said :
#9

m3u8 streams are supported on Android but I'm not sure they are on the
other clients