MediaPlayer - Forum

Forum Navigation
You need to log in to create posts and topics.

MediaPlayer

Hello!

I can no longer play a video file either with the mediaplyer or with PlayVideoFile.

I still have the message: An error occurred while initializing MCI.

Do you have any idea about the nature of this problem?

Thanks

Hi, @feli

Try the zmWMP plugin (Пётр Павлов).

For example, if you created a rectangle with the name Rectangle1, then in the properties of the page (or on the button) you can create the following code (for example):

.create a plug-in object (player) in the specified rectangle
zmWMPCreate "123" "Rectangle1" "" "" ""
.open a video file
zmWMPOpen "123" "C:\Video1.mp4"
.start playing video in the specified player
zmWMPPlay "123"
.show player control panel (full view)
zmWMPSetControls "123" "Full"

Uploaded files:
  • You need to login to have access to uploads.
CN_Iceman and josevdr95 have reacted to this post.
CN_Icemanjosevdr95

@feli I think the problem could be due to problems in the specific file you are trying to play.