PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, April 15, 2022

[FIXED] Why is my iframe code for facebook not showing video description on mobile only?

 April 15, 2022     facebook, iframe, wordpress     No comments   

Issue

I am using iframe to embed a facebook video. I have changed show_text to "true" to include the description from facebook, and increased the height to around 600px to allow space for it. It works great on larger screens and even shows up when previewing in mobile responsive mode on my laptop, but the description and like/comment/share icons are missing when viewed on my phone. The video is still there but no information. Hoping someone has some ideas about this. Thanks!


Solution

https://developers.facebook.com/docs/plugins/embedded-video-player/#settings:

data-show-text
Set to true to include the text from the Facebook post associated with the video, if any. Only available for desktop sites.

So this isn't supposed to work on mobile.



Answered By - CBroe
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing