The operation could not be completed on iPhone

7 replies [Last post]
Joined: 05/04/2011
Points: 7

Hi,

i have fresh install on CE4 last night. And tried to upload a video clip and have iPad, Mobile (H.264) - Basic enable on the default transcoding flavors.

Then I click on the content and Preview & Embed, make a check box on "Support iPhone & iPad with HTML5" then I copy link it to an simple html file.

<!DOCTYPE html>
<head>
<meta charset="UTF-8" />
<title>test html5</title>
</head>
<body>
<script type="text/javascript" src="http://video.howhost.com/p/100/sp/10000/embedIframeJs/uiconf_id/4421494/partner_id/100"></script>
<object id="kaltura_player_1328951322" name="kaltura_player_1328951322" type="application/x-shockwave-flash" allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" height="333" width="400" bgcolor="#000000" xmlns:dc="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" resource="http://video.howhost.com/index.php/kwidget/cache_st/1328951322/wid/_100/uiconf_id/4421494/entry_id/0_q0itgbvh" data="http://video.howhost.com/index.php/kwidget/cache_st/1328951322/wid/_100/uiconf_id/4421494/entry_id/0_q0itgbvh"><param name="allowFullScreen" value="true" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="&{FLAVOR}" /><param name="movie" value="http://video.howhost.com/index.php/kwidget/cache_st/1328951322/wid/_100/uiconf_id/4421494/entry_id/0_q0itgbvh" /><a href="http://corp.kaltura.com">video platform</a> <a href="http://corp.kaltura.com/video_platform/video_management">video management</a> <a href="http://corp.kaltura.com/solutions/video_solution">video solutions</a> <a href="http://corp.kaltura.com/video_platform/video_publishing">video player</a> <a rel="media:thumbnail" href="http://video.howhost.com/p/100/sp/10000/thumbnail/entry_id/0_q0itgbvh/width/120/height/90/bgcolor/000000/type/2"></a> <span property="dc:description" content=""></span><span property="media:title" content="Oscar Surfer"></span> <span property="media:width" content="400"></span><span property="media:height" content="333"></span> <span property="media:type" content="application/x-shockwave-flash"></span> </object>
</body>
</html>

Launch the browser. I saw the thumbnail but once I tab play. I got an popup error "The operation could not be completed". Did I missed anythiing?

Regards,

Richard

Joined: 02/15/2011
Points: 0

Hi,

In order to solve this issue you should remove the tags "ipadnew" and "iphonenew" from your mobile flavors (iPad, Mobile (H264) - Basic and Mobile (H264) - Standard)

You need to run the follwoing:
update kaltura.flavor_params set tags = "web,ipad" where name = "iPad";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Basic";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Standard";

In order to fix assets for existing entries you need to update the their tags, you can use one of the following:
1. Locate all the assets which contains "ipadnew" or "iphonenew" in the tags column (select id from kaltura.flavor_asset where tags like '%new% ) and remove those specific tags
2. Reconvert those flavors from kmc
3. Call the api flavorAsset->update() for the old flavor assets.

Joined: 11/29/2010
Points: 110

The settings worked for me too. BUT re-encoding these flavors (without doing step 3 admittedly) broke the flash video and I had to re-upload the entire Entry. Just as well we discovered this before too much video is on there, mostly uploaded by myself (as tests for the functionality in moodle) or our video man (who setup the original v1 CE server) who's been trying out it's conversions.

Joined: 05/04/2011
Points: 7

Hi,

This has resolved my problem. Thank you much for your help!

Joined: 11/11/2011
Points: 46

Hi,
I've installed Kaltura 4CE VMware and have the same problem. Could you tell me how to run those MySQL queries? I cannot seem to access PHPMyAdmin on my install.
Thanks,
Fred

Joined: 12/15/2010
Points: 23

I just setup vmware kaltura 4.0, and enable the iphone flavor, but when I access it through iphone, always get "The operation could not be completed" error message. I am new to CE server, can I know how to run the following, thank you:

update kaltura.flavor_params set tags = "web,ipad" where name = "iPad";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Basic";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Standard";

Joined: 11/05/2009
Points: 339

those are mysql command line entries - if you are familiar with SSHing into your server just google how to run mysql and enter commands, it's fairly straightforward

Joined: 11/11/2011
Points: 46

Thank you rtcpw07, I was trying like mad to login to MySQL using u root and p kaltura and obviously that didn't work... only realised after trying 1 million times that there were no passwords.
For the linux challenged (like myself), here is what I did:

SSH to my Linux box (hit 'enter' at the end of every line)
yourusername
yourpassword

mysql -u yourusername
update kaltura.flavor_params set tags = "web,ipad" where name = "iPad";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Basic";
update kaltura.flavor_params set tags = "mobile,iphone,h264,web" where name = "Mobile (H264) - Standard";
mysql \q

I am now able to view videos on the iPhone, although I think there is another problem with the player I use for the videos I upload through Moodle. I'll be doing some checks and post my solution here.
At the moment, I can view videos on iPhones if I use the embed code on a HTML page, however I cannot view any videos (the same ones), with the player I am using on Moodle - do all players work with HTML5 fallback?
Thanks again for your help.
Fred