Skip to content

.mp4 video not working in splash screen in htc desire 500 #502

Description

@GoogleCodeExporter
Hi,
I want to integrate video in splash screen. Video is in .mp4 format.It is not 
playing on htc desire 500 and below the android 4.1 in samsung phone.

What steps will reproduce the problem?
1. I am using VideoView for playing video.
2.videoHolder =(VideoView) findViewById(R.id.splashvideoView);
        Uri video = Uri.parse("android.resource://" + getPackageName() + "/"
                + R.raw.splash);
        videoHolder.setVideoPath(video.toString());

        videoHolder.start();

What is the expected output? What do you see instead?
I obtain a message in dialog "Video can't play".

What version of the product are you using? On what operating system?
I use Eclipse Juno for Java,windows xp and sdk 5.1.

Thank you for your help and sorry for my bad english.

Original issue reported on code.google.com by pk464...@gmail.com on 5 May 2015 at 5:41

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions