How do you loop and embedded video?

Olargee

New Member
Joined
May 31, 2011
Messages
14
I have an embedded video. It ends when it finishes playing.

Is there anyway to set it so it loops continuously?

Thanks in advance
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I have an embedded video. It ends when it finishes playing.

Is there anyway to set it so it loops continuously?

Thanks in advance

Is the video embeeded in a worksheet ? and if so, is it displayed as an Icon or otherwise ?

Also,what is the video file extension ?, AVI, WMV ect ...?
 
Upvote 0
I have embedded the video, or rather a series of videos as a Window Media Player File

What I did was embed an .m3u playlist. It is mostly MP4 and ASF files

What I did in excel was

Developer -> Insert -> ActiveX Controls -> More Controls -> Windows Media Player

It did run the list but it gives me no option to set the playlist to repeat
 
Upvote 0
Try this in the worksheet module:

Code:
Private Sub WindowsMediaPlayer1_PlayStateChange(ByVal NewState As Long)

    If NewState = 1 Then
        WindowsMediaPlayer1.Controls.Play
        WindowsMediaPlayer1.settings.setMode "loop", True
    End If

End Sub
 
Upvote 0
I have changed the VBA code on the embedded object but The embedded video just stops after going through the playlist

no looping

and I've tried it twice

Is there any other way?

perhaps a solution that is not Excel or VBA related?

Is there anything I can write in the .m3u to cause it to loop?
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top