简体   繁体   中英

Delphi XE4 ios play videos not working… only sound

I have this code in my Delphi XE / iOS project:

  MediaPlayerControl.MediaPlayer := MediaPlayer;
  MediaPlayerControl.Visible := True;
  MediaPlayer.FileName := FVideoPath;
  MediaPlayer.Play;

However, only the sound plays....

I have tried with both .mp4 video file (AFAIK supported) and another

Remove the MediaPlayerControl of the project. The video will play in full screen mode only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM