I have a video into only play when app runs first time. How do i have fixed orientation for video.? [import]uid: 11559 topic_id: 23161 reply_id: 323161[/import]
I asked about your orientation in the other thread you posted this in.
RE it only running the first time, is that intentional or are you saying that is not by design? [import]uid: 52491 topic_id: 23161 reply_id: 92707[/import]
It ignores my build setting. In build settings I have
Default = landscape right
Supported = landscaperight and ladscapeleft. The game itself works only in landscape mode. But video Changes to 4 orientation. I want to lock video only to landscape.
Please help.
Thanks [import]uid: 11559 topic_id: 23161 reply_id: 92761[/import]
Here is my build.settings file
settings =
{
orientation =
{
default = "landscapeRight",
supported =
{
"landscapeLeft", "landscapeRight",
},
},
iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
CFBundleIconFile = "Icon.png",
CFBundleIconFiles = {
"Icon.png",
"Icon@2x.png",
-- "Icon-72.png",
-- "Icon-Small-50.png",
-- "Icon-Small.png",
-- "Icon-Small@2x.png",
},
},
},
android =
{
versionCode = "100"
},
}
And here how i call it very simple.
local function onComplete (event)
print ("video session ended")
end
media.playVideo("intro.m4v", false , onComplete )
I dont know why it ignores build settings and rotate to 4 orientations. Please help [import]uid: 11559 topic_id: 23161 reply_id: 92787[/import]
I can confirm this is happening too. In a couple of games I’m working on, I have a movie file for the splash screen. Even though I have the app fixed to be horizontal only, if the device is vertical then the video clip plays in the orientation the device is in.
[import]uid: 19626 topic_id: 23161 reply_id: 92796[/import]
I knew this was an issue previously but thought it was resolved, however looking at build notes it appears this was (the fix) something related to Android specifically.
Ayena could you please file a bug report with a test case showing the issue? [import]uid: 52491 topic_id: 23161 reply_id: 92938[/import]
Sure. How Fast you think Ansca can fix it? Because my game it’s ready exept this video intro. Thanks [import]uid: 11559 topic_id: 23161 reply_id: 92945[/import]
I’m afraid I can’t give you an ETA as although I am assigned bugs this would likely go to someone who works more with video than I do.
After filing a bug report you can check in with whoever it is assigned to by responding to the email you get.
Peach
[import]uid: 52491 topic_id: 23161 reply_id: 92994[/import]