Corrupt Stack? video file playback blank
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Corrupt Stack? video file playback blank
Hi all,
I have a small problem with a old project where I think the stack could be corrupt. When I place the code in a new stack the video works fine. However if I place the same code in the project stack the video control opens but no video.
The code is as follows:
put specialFolderPath("engine") & "/videos/Flash_Intro3_1_1.m4v" into tVidFile
put tVidFile into fld "videoFilePath"
play video tVidFile
any suggestions?
Using LC 6.6.2
Using Android 4.4.4
PS I have removed everything from the "preopen" and "opencard" handlers still no go.
I have a small problem with a old project where I think the stack could be corrupt. When I place the code in a new stack the video works fine. However if I place the same code in the project stack the video control opens but no video.
The code is as follows:
put specialFolderPath("engine") & "/videos/Flash_Intro3_1_1.m4v" into tVidFile
put tVidFile into fld "videoFilePath"
play video tVidFile
any suggestions?
Using LC 6.6.2
Using Android 4.4.4
PS I have removed everything from the "preopen" and "opencard" handlers still no go.
Re: Corrupt Stack? video file playback blank
Just to be sure, can Android play m4v video files at all?
Re: Corrupt Stack? video file playback blank
Thanks Klaus for the reply.
The video file works fine on Android OS.
I think there is something going on or with the stack file is my last idea.
Going to start deleting a few controls and buttons and see if it starts to work, My last option is to just start fresh on the new stack and copy every control and script etc over.
The video file works fine on Android OS.
I think there is something going on or with the stack file is my last idea.
Going to start deleting a few controls and buttons and see if it starts to work, My last option is to just start fresh on the new stack and copy every control and script etc over.

Re: Corrupt Stack? video file playback blank
Hmmm...?
Did you check if this works in a button script?
And did you check the pathname?
iOS and Andoid have case-sensitive filesystems!
That's why I ALWAYS use lowercase for all my filenanes
Did you check if this works in a button script?
And did you check the pathname?
iOS and Andoid have case-sensitive filesystems!
That's why I ALWAYS use lowercase for all my filenanes

Re: Corrupt Stack? video file playback blank
Might be a memory issue.
Everything in the "engine" is compressed and needs to be uncompressed before it can be used.
Maybe try moving the video's to "documents". (probably should do that anyways for the resources sake)
Simon
Everything in the "engine" is compressed and needs to be uncompressed before it can be used.
Maybe try moving the video's to "documents". (probably should do that anyways for the resources sake)
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Corrupt Stack? video file playback blank
@ Klaus
Both code is in button scripts
Yes I have checked the file names and paths in the videoFilePath field on both stacks and they are the same. (different identifiers which is expected. However the problematic one has got (-1) after it could that be the problem? I will investigate and change identifiers and see if it does anything)
@ Simon
Not tried the document path yet. But will give anything a go at this point.
Thanks
However I have spotted something on the project stack. the stack ID is over 15000000 !!(not sure how this happened) Should this not be the lowest ID? How do I change the stack ID as it says I can only increase the ID not lower it. (I know, looking for straws at the moment)
Both code is in button scripts
Yes I have checked the file names and paths in the videoFilePath field on both stacks and they are the same. (different identifiers which is expected. However the problematic one has got (-1) after it could that be the problem? I will investigate and change identifiers and see if it does anything)
@ Simon
Not tried the document path yet. But will give anything a go at this point.

However I have spotted something on the project stack. the stack ID is over 15000000 !!(not sure how this happened) Should this not be the lowest ID? How do I change the stack ID as it says I can only increase the ID not lower it. (I know, looking for straws at the moment)
Re: Corrupt Stack? video file playback blank
I have found the problem!! but not sure how to fix it or if it is a bug.
It was in the stack script. I had this code:
on preOpenStack
set the fullscreenmode of this stack to "exactFit"
set the acceleratedRendering of this stack to true --here is the evil line that is causing a headache. But as far as I understand it this should work as is. no?
end preOpenStack
It was in the stack script. I had this code:
on preOpenStack
set the fullscreenmode of this stack to "exactFit"
set the acceleratedRendering of this stack to true --here is the evil line that is causing a headache. But as far as I understand it this should work as is. no?
end preOpenStack
Re: Corrupt Stack? video file playback blank
Hi istech,
sounds like a bug to me!
But looks like this they already know about it:
http://quality.runrev.com/show_bug.cgi?id=10267
Best
Klaus
sounds like a bug to me!
But looks like this they already know about it:
http://quality.runrev.com/show_bug.cgi?id=10267
Best
Klaus
Re: Corrupt Stack? video file playback blank
Thanks Klaus,
I am disabling it when I need to play a video for the time being. All works fine now. Hopefully we should see a fix soon.
I am disabling it when I need to play a video for the time being. All works fine now. Hopefully we should see a fix soon.