User Tag List

Results 1 to 9 of 9

Thread: Play video problem on Android or iOS

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Play video problem on Android or iOS

    Hi

    My game is near to end this days as I find a strange problem:

    Into the game I have many animation demo .also I have a prologue a epilogue animation too. Everything is fine for PC output when I use Direct show object . But when I use Video Android or iOS , I can't see anything and I only have a black screen. I test Videos on a blank application and that was fine. but into the game, video paly doesn't work .Also I have crash game too.

    I guess it's about size my game .Because when I remove video objects I haven't any crash . And when a make fresh application videos work perfect.
    My size game is 23 MB . when I compile that without video for Android , I haven't any problem. But when I add videos my size game is 53MB and game crashed on iOS and Android

    Is any limited for apk or Xcode size ? Or I have another problem that I don't know.
    I appreciate for any help.
    Thanks
    Mehrdad

  2. #2
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    568
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure the video file:

    1. Has no spaces in its name
    2. Has no capital letters in the name
    3. Doesn't start with a number

    So, "hello_world123.mp4" would be an ok name to use, but 123_helloworld.mp4 and Hello_world.mp4 and hello world.mp4 would not work.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleMac Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    JHale's Avatar
    Join Date
    Dec 2013
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ChrisStreet View Post
    Make sure the video file:

    1. Has no spaces in its name
    2. Has no capital letters in the name
    3. Doesn't start with a number

    So, "hello_world123.mp4" would be an ok name to use, but 123_helloworld.mp4 and Hello_world.mp4 and hello world.mp4 would not work.
    I'm having the same issue as him and tried the above, but still no go...

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I strongly think this issue is about memory.As i said i test video on blank application and that works fine.But when add same code in game i have crash or black screen.
    Also i make an object and input frames into it , I had crash again on Android and iOS . Because my size game goto upper 50mb. while if remove video or large object everything is fine.(My normal size game without video is about 20 mb)
    Sorry bur I repeat again : Is any limit size app for apk or Xcode ? I really have problem for show my demo video animations into the game.

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok. My problem solved. The game for Android was more than 50 MB as apk file size is at least 50 MB.
    But Isn't any way for make Android application more than 50 MB without use path URL to internet?
    Can Fusion make .obb file for large games ? It's very important for me because i have many sprite animation and demo.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    404
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Edit: OK, it runs flawlessly by playing the apk file on my device. I thought that I would be able to play the video also by running the application within Fusion, but apparently it looks like it doesn't work that way.

    --
    Same problem here, I cannot manage android video object to run, even following chris' advice.

  8. #8
    No Products Registered

    Join Date
    May 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Prompt please in what format video in your game??? How do you add them to the game???

    Quote Originally Posted by MEHRDAD View Post
    ...because i have many sprite animation and demo.
    Prompt please in what format video in your game???
    How do you add them to the game???

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    464
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use MP4 for Mobile ports and WMV for PC port .
    For PC I use Direct Show object . For Android I use Video Android object and iOS I use iOS/Mac OS video object.

Similar Threads

  1. Play video from stream and protect it
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th September 2013, 02:55 PM
  2. iOS Video play/pause actions?
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 19th September 2012, 05:59 PM
  3. help! avi video will not play!
    By noldyb in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st March 2012, 11:20 PM
  4. record video of game play footage?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 22nd December 2008, 01:25 AM
  5. Play Flv video
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th July 2008, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •