# Video Player

**URL:** <https://forum.xojo.com/t/video-player/10275>\
**Category:** Web\
**Created:** [August 13, 2013, 5:49pm UTC](https://forum.xojo.com/t/video-player/10275 "2013-08-13T17:49:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Fletcher](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@Todd\_Fletcher](https://forum.xojo.com/u/Todd_Fletcher)\
**Post date:** [August 13, 2013, 5:49pm UTC](https://forum.xojo.com/t/video-player/10275/1 "2013-08-13T17:49:28Z")

</div>

I am looking for a best way to implement video playback in a web app. I need functionality that will allow me to move the play head to specific points and read location of play head on a streamed video. Any ideas?

I know I can drop an HTML control and implement a flash or HTML5 player with my own code. But I would like to have a more native control/player. Maybe I am missing something obvious.

THX

---

<div class="post-metadata">

**Author:** ![Todd\_Fletcher](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@Todd\_Fletcher](https://forum.xojo.com/u/Todd_Fletcher)\
**Post date:** [August 13, 2013, 6:00pm UTC](https://forum.xojo.com/t/video-player/10275/2 "2013-08-13T18:00:29Z")

</div>

Oh. And I forgot a current issue with WebMoviePlayer. The documentation says to call the Reset function after changing DesktopURL. However, there is no such method available.

![](http://www.crazyhorseproductions.net/images/Movie.png)

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [September 21, 2013, 4:27am UTC](https://forum.xojo.com/t/video-player/10275/5 "2013-09-21T04:27:26Z")

</div>

> [@35374:@dave duke](#):
>
> Can XOJO stream video from WE yet?

I wouldn’t. Streaming large files will tie up the app’s CPU time. I’d suggest putting them on a CDN that’s designed for video streaming.

---

<div class="post-metadata">

**Author:** ![Ken\_Gish](https://forum.xojo.com/letter_avatar_proxy/v4/letter/k/e495f1/32.png) [@Ken\_Gish](https://forum.xojo.com/u/Ken_Gish)\
**Post date:** [October 22, 2013, 1:16pm UTC](https://forum.xojo.com/t/video-player/10275/6 "2013-10-22T13:16:27Z")

</div>

Can anyone answer the original question?

I have tried using the WebMoviePlayer and I can’t get MPG or SWF to play in it. The player window just shows a gray background with a moving slider (but no sound).

I was initially very excited about the possibility of using Xojo to develop web apps but just scratching the surface Xojo seems extremely limited.

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [October 22, 2013, 1:26pm UTC](https://forum.xojo.com/t/video-player/10275/7 "2013-10-22T13:26:27Z")

</div>

If you look at the docs, it was designed to play mp4 video files, so that it would play natively on the most browsers, falling back to flash only when necessary.

---

<div class="post-metadata">

**Author:** ![Bob\_Keeney](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Bob\_Keeney](https://forum.xojo.com/u/Bob_Keeney)\
**Post date:** [October 22, 2013, 1:31pm UTC](https://forum.xojo.com/t/video-player/10275/8 "2013-10-22T13:31:29Z")

</div>

What I ended up doing for all of our Real Studio/Xojo training videos was to have an MP4/MOV version AND an Ogg version for browsers that didn’t support the MP4 version (Firefox and Chrome). At the time, this was the only way I could get around the bugs in the WebVideoPlayer API.

Note that I have NOT tried the Flash player fallback in several version so this might all be moot in current versions, but I know I struggled mightily with this for a long time and what I did works (even if I’m using double the disk space).

---

<div class="post-metadata">

**Author:** ![Mike\_D](https://forum.xojo.com/user_avatar/forum.xojo.com/mike_d/32/266_2.png) [@Mike\_D](https://forum.xojo.com/u/Mike_D)\
**Post date:** [October 22, 2013, 2:51pm UTC](https://forum.xojo.com/t/video-player/10275/9 "2013-10-22T14:51:30Z")

</div>

AFAIK, FireFox 21 and higher has H264 support if the OS does (e.g. Windows 7 does, Windows XP does not).

---

<div class="post-metadata">

**Author:** ![Bob\_Keeney](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Bob\_Keeney](https://forum.xojo.com/u/Bob_Keeney)\
**Post date:** [October 22, 2013, 3:45pm UTC](https://forum.xojo.com/t/video-player/10275/10 "2013-10-22T15:45:23Z")

</div>

> [@41811:@Michael Diehr](#):
>
> AFAIK, FireFox 21 and higher has H264 support if the OS does (e.g. Windows 7 does, Windows XP does not).

Well, I can’t control which version of the browser people are using and which OS. What I have now works (even if it does kind of stink to encode 2 types of video).

---

<div class="post-metadata">

**Author:** ![Todd\_Fletcher](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@Todd\_Fletcher](https://forum.xojo.com/u/Todd_Fletcher)\
**Post date:** [October 22, 2013, 4:59pm UTC](https://forum.xojo.com/t/video-player/10275/11 "2013-10-22T16:59:41Z")

</div>

[quote=41794:@Loren Staplin]Can anyone answer the original question?

I have tried using the WebMoviePlayer and I can’t get MPG or SWF to play in it. The player window just shows a gray background with a moving slider (but no sound).

I was initially very excited about the possibility of using Xojo to develop web apps but just scratching the surface Xojo seems extremely limited.[/quote]

@ Loren - Bob refereed me to Daniel Taylor. Dan said he is about to release a control that fits my needs. I’ll let you know how that goes when I get it. Here’s his site: [http://webcustomcontrols.com](http://webcustomcontrols.com). It definitely seems that 3rd party sources are needed to added specialized needs in Xojo.

---

<div class="post-metadata">

**Author:** ![Ken\_Gish](https://forum.xojo.com/letter_avatar_proxy/v4/letter/k/e495f1/32.png) [@Ken\_Gish](https://forum.xojo.com/u/Ken_Gish)\
**Post date:** [October 22, 2013, 10:25pm UTC](https://forum.xojo.com/t/video-player/10275/12 "2013-10-22T22:25:36Z")

</div>

Ok. I will keep monitoring this post.

It’s possible I am not using the WebMoviePlayer control correctly because I have yet to get MPG or SWF (will try ogg, mp4, and wmv next) to play in it. Also, I would need to be able to completely hide the playback bar for some videos. If I can’t do this, I might not be able to use it anyway. I’ll keep trying to get it working because it is so much easier to use than HTMLViewer+code.

---

<div class="post-metadata">

**Author:** ![Todd\_Fletcher](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@Todd\_Fletcher](https://forum.xojo.com/u/Todd_Fletcher)\
**Post date:** [February 28, 2014, 6:27pm UTC](https://forum.xojo.com/t/video-player/10275/13 "2014-02-28T18:27:56Z")

</div>

I am still in search of a better implementation of a video control. One which fires events on ‘x’ time played, moving the playhead in the player to a specific time, etc…

Will pay. 😉

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:48pm UTC](https://forum.xojo.com/t/video-player/10275/14 "2020-10-29T16:48:18Z")

</div>


