Title: ei2com's Replies | WordPress.org

---

# ei2com

  [  ](https://wordpress.org/support/users/ei2com/)

 *   [Profile](https://wordpress.org/support/users/ei2com/)
 *   [Topics Started](https://wordpress.org/support/users/ei2com/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ei2com/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ei2com/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ei2com/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ei2com/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ei2com/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Really Simple Featured Video - Featured Video Support for Posts, Pages & WooCommerce Products] Video no playing on mobile](https://wordpress.org/support/topic/video-no-playing-on-mobile/)
 *  [ei2com](https://wordpress.org/support/users/ei2com/)
 * (@ei2com)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/video-no-playing-on-mobile/#post-14748026)
 * First of all, I want to thank you for this module, it does simply wht it has 
   to 🙂
 * I found also that it is not working on apple devices, but hardcoded the “playsinline”
   attribute on the video tag and now it is working but not all devices. I think
   that it can be something related to different versions of OS or device.
 * In my case, it is in “autoplay&loop” mode as the video is a short one to feature
   a products on my site.
 * I added the “playsinline” in Shortcode.php line 86:
    `return '<video class="rsfv-
   video" id="rsfv-video-' . $post->ID . '" src="' . $video_url . '" style="max-
   width:100%;display:block;"' . "{$has_controls} {$is_autoplay} {$is_loop} {$is_muted}{
   $is_pip}" . ' playsinline ></video>'`
 * Also added in ForntEnd.php line 119:
    `$html = '<div class="woocommerce-product-
   gallery__image rsfv-video__wrapper" data-thumb="' . RSFV_PLUGIN_URL . 'assets/
   images/video_frame.png"><video class="rsfv-video" id="rsfv_video_' . $product-
   >get_id() . '" src="' . $video_url . '" style="max-width:100%;display:block;"'."{
   $has_controls} {$is_autoplay} {$is_loop} {$is_muted} {$is_pip}" . ' playsinline
   ></video></div>' . $html;`
 * I think it has to be mandatory to has this property by default in oreder to work
   in most devices as possible.
 * Thanks again!

Viewing 1 replies (of 1 total)