Videos in Mobile App

I am having an issue playing videosin the mobile app

First - this is not in regards to the videos module

Second, I am using the free version of the mobile app

OK, not that that is out of the way, heres my dilemma

In the mobile app, a user can only view his own videos, or videos of another person by going through the other persons profile, but there is no viewing of Public Videos.

So,I created a simple php page that has the following:

 <video src="http://mytherapysession.net/flash/modules/video/files/1.webm" controls="controls" width="100%" height="240">sorrycant play the video</video>

Now, with the webm extension, I get nothing for the videos. if using the .m4v extension, sometimes it wont load and sometimes it will load after 10 minutes, but only the audio plays. If I use the .mp4 extension (I created an mp4 version for testing)  then it will start playing immediately, but again, it only plays the sound.

I also get this same problem with youtube videos. They start instantly, but only sound plays. Heres my code for the youtube videos:

<iframe width='100%' height='240' src='http://www.youtube.com/embed/";
echo $Videos_youtube0;
echo "?rel=0' frameborder='0' allowfullscreen></iframe>

The outcome I am looking for is a  simple one,I need the video to play as well as the audio.

I know this was brought up in regards to videos played through the video module, but as this is a simple non-dolphin piece of code, I started a new post.

if anyone knows video format I need to convert to, please let me know - or if there are any other suggestions, ideas that I may try, or anything I may have missed, PLEASE let me know.

For viewing in mobile site: Login to mytherapysession.net as demo1 pwd=54321

Click the Videos icon on the home page.

And as always, Thanks in advance

caredesign.net
Quote · 27 Feb 2013

I would recommend to use some player for this purpose, and supply as many formats as possible to cover all mobile devices.  

Rules → http://www.boonex.com/terms
Quote · 28 Feb 2013

and that is where i get confused again - technically, shouldnt the html5 itslef be a video player. I ask cause everywhere i look for html5 players, I get the same code - or slight variations of it - as what i already have.

since i only want these videos viewed through the mobile app - and not worried about pc users, can you recommend a player and options i should do to accomplish what I need. Below are other option i tried, which did not work either.

I expected this one to work as it has both formats that the videos are converted to

<video width='640' height='360' controls>
<source src='http://mytherapysession.net/flash/modules/video/files/1.m4v' type='video/mp4' />
<source src='http://mytherapysession.net/flash/modules/video/files/1.webm' type='video/webm' />
</video>

and

<div id="myElement">Loading the player...</div>

<script type="text/javascript">
    jwplayer("myElement").setup({
        file: "http://mytherapysession.net/flash/modules/video/files/1.webm",
        image: "http://mytherapysession.net/video-images/Abuse.jpg"
    });
</script>

caredesign.net
Quote · 28 Feb 2013

in my quest for knowledge and more dolphin dolphin DOLPHIN POWER, I have noticed that my videos will not play on my phone when viewing the desktop site, but they do work if viewing them on the mobile app if i go through the admin profile to view the videos of that profile.

I also noticed that when it plays the video on my samsung galaxy, it opens the video in a player all its own and fullscreens automatically. On my LG G2X, it asks which video player i want to watch the movie on. In addition to these 2 things, I also noticed that it is going to get_mobile to play the videos. On my galaxy, get_mobile is the title at the top of the video.

So, is there a way I can use that page as well for myt videos, or better yet - i like the way the default video albums and videos show up when i search for the admin profile and view those videos. I would love to just click one link and it take me straight to the videos for the admin profile, laid out like the default look.

caredesign.net
Quote · 28 Feb 2013

First off, I would like to say thanks to all who have taken the time to look into my requests. Now, I have come up with a workaround that helps me out a lot.

Basically - i added my link for a new page in the sys_mobile_menu table as follows:

INSERT INTO sys_menu_mobile (

`id` ,
`type` ,
`page` ,
`title` ,
`icon` ,
`action` ,
`action_data` ,
`eval_bubble` ,
`eval_hidden` ,
`order` ,
`active`

)
VALUES (

NULL , 'bx_videos', 'homepage', 'Videos', 'home_videos.png', '100', '{site_url}Mobile-Videos/view.php', 'return BxDolXMLRPCMedia::_getMediaCount(''video'', ''1'', ''1'');', '', '3', '1'

);


Then I created a page in my Mobile-Videos folder called view.php, in which it only has the following:

<?php header ("Location: bxvideoalbums:bcoyle")
?>


Since the only one who will be adding videos is me (admin) I just sent a redirect directly to the admins video albums.

This works for me, but if anyone knows or finds a way to embed the bxvideoalbums:bcoyle into the actual link as opposed to having to go to one page and it redirect to another - i think it would be easier to just click the videos icon and the url take you where you need to go, instead of using the redirect.

caredesign.net
Quote · 28 Feb 2013

Thanks for this tip. It does work. However, I do sometimes get a error message "Connection Error" and the page does not load.

have you gotten that error?

Quote · 11 Jul 2013

Originally  Iwas getting that error - but only once in a while - I think it is because of the redirect - which I wanted to get away from anyways.

 

I am going to have to look at this post and what I did again. I have redirected my thoughts and efforts to redoing the desktop site and using 7.1.3. I know there has been an update for the mobile app since my original post and not sure how anything is going to work now. Plus, earlier it was a "nice thing to have" and not yet requested by the project manager.

 

It may take me a couple of days to check things out but I will get to this.

caredesign.net
Quote · 11 Jul 2013

Hey ProfessorSr i just recently upgraded to the latest mobile app. I have the samsung 3 as well and it sent me a notification stating upgrade available. I did it today and i can't seem to upload any video or even view any video, so maybe its best to wait a bit i guess.

Everyday is a new beginning.
Quote · 23 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.