The module generates the player in an embed tag. The problem is that IOS doesn't read flash and so the video is not displayed.
Using the iframe integration instead solve the problem.

Attached patch convert embed/object integration to iframe

Comments

jgtrescazes’s picture

Issue summary: View changes
jgtrescazes’s picture

Status: Active » Needs review
StatusFileSize
new1.4 KB

Previous patch introduce a new issue when integrated in an https page, iframe src should not contain any protocol.

Attached path fix the problem.

cedric_a’s picture

Status: Needs review » Reviewed & tested by the community

Applied patch in #2, problem fixed, and seems to be a more actual way to embed a video.

svanou’s picture

patch worked like a charm! Thanks!

tritof’s picture

Patch solved also the same issue on Android 6. Thanks !

euphoric_mv’s picture

Hi all,

Patch works fine, thank you.

If you don't want to apply the patch you can override function for embedding dailymotion video by implementing hook_video_embed_handler_info:

/**
 * Performs alterations on video_embed_field handlers.
 *
 * @param $info
 *   Array of information on video handlers exposed by
 *   hook_video_embed_handler_info() implementations.
 */
function my_custom_module_video_embed_handler_info_alter(&$info) {
  if (isset($info['dailymotion'])) {
    $info['dailymotion']['function'] = 'my_custom_module_video_embed_dailymotion_handle_video';
  }
}

In my_custom_module_video_embed_dailymotion_handle_video just change embed code from object to iframe with parameters.

I hope it will be helpful.

avpaderno’s picture

Issue tags: -#browser
mably’s picture

Status: Reviewed & tested by the community » Closed (outdated)

Drupal 7 is EOL.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.