How to use Movie:// on lockdown?

Solved Locked
IK
Ivan Keri-Nagy
BAT Pecsi Dohanygyar Kft. (British American Tobacco)

We are trying to create some tablets that's only for playing a certain video. I added Movie://sourcefolder/filename.mp4 but, it just gives a black screen.

Can I ask for some help?

Also don't know how to set up a file sync rule in cloud server from server to device. How should i declare the source file?

MobiControl Version: 14.4.5.1048

Thanks!

4 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago

I don't know where you get the so-called file information.   The string "storage/emulated/0/Movies" is not a valid path name.  You might at least need to add the root prefix.  So, please try

     Movie:///storage/emulated/0/Movies/filename.mp4 

However,  some devices may have the file system mounted in special way or use some soft-link to make things more complicated.  So, the MobiControl script engine may not be able to locate your file properly with "/storage/emulated/0/Movies/filename.mp4".  It's easy to test out.  Just send a script command to try out a copy operation to see if you get a duplicate copy in the copy destination.  If successful, you have nailed down the right way to reference your source file on your device.  No one else can do this test for you.

Solution
C
Christophe
4 years ago

Hello,

without lockdown, can you view the video ?

Also, which device do you use and which version on android do you use ?

thanks

RC
Raymond Chan Diamond Contributor
4 years ago

Using 

     Movie://sourcefolder/filename.mp4

is virtually no different from using

     file://sourcefolder/filename.mp4

to specify an MP4 video file to be played.

If you have problem, either the pathname before the suffix "filename.mp4" has not be properly defined to locate the file, or your device does not have any default video player app  bind to file with extension .mp4 for playback.

IK
Ivan Keri-Nagy
4 years ago

I'm trying to play it from the device's internal storage. The file could be played without the lockdown, so it has to have a default player.

The file info says it is located in "storage/emulated/0/Movies"

so the correct line would be Movie://storage/emulated/0/Movies/filename.mp4 right?