Facebook AMP video on samsung default browser - facebook

I have a iframe facebook video that work perfectly everywhere but samsung default browser.
it's on an AMP website version :
https://kech24.com/%D8%A8%D8%A7%D9%84%D9%81%D9%8A%D8%AF%D9%8A%D9%88-%D8%A7%D9%84%D9%85%D9%84%D9%83-%D9%85%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D8%B3%D8%A7%D8%AF%D8%B3-%D9%8A%D8%B9%D9%88%D8%AF-%D8%A5%D9%84%D9%89-%D8%A3%D8%B1%D8%B6-%D8%A7%D9%84%D9%88%D8%B7%D9%86.html
Anyone have an idea ?

Related

How to open the native Facebook app from a react app link?

In my react web app I have a link to share a website url on Facebook:
<Link href={`https://www.facebook.com/sharer/sharer.php?u=${this.props.shareUrl}`}>
Share on Facebook
I could also use a plain html link like so
<a href={`https://www.facebook.com/sharer/sharer.php?u=${this.props.shareUrl}`}>Share on Facebook</a>
When this is clicked Safari is launched and the Facebook web page is displayed.
What would I need to do to get the native Facebook ios or android app to launch (instead of a browser) if it is installed? Could I carry on using this link or would I need to use a share button or install the Fb SDK?
Try this one to open a Facebook app from URL. It works for me.
Linking.openURL("fb://facewebmodal/f?href=https://www.facebook.com/FixadorPT/");

Display Facebook videos in Ionic 2 app

I am trying to display my Facebook videos in an ionic 2 app but the URL is not working. In browser, I am getting message "Unavailable
This video can't be embedded." and in emulators the display is blank.
Any suggestions.
I found this link Embeded Video Player it worked for me, I hope this would also help you. To setup Facebook SDK in your ionic app. please visit this link Ionic Facebook Native

Embed iframe on iphone and ipad (safari browser)

I have issue on ipad/iphone under safari browser for embed iframes.
So, in generally, behavior of this iframes - they keep their height, but iframe contend doesnt shows, so there just blank space instead google embed map or youtube iframe.
How can I solve this?
I faced this once and I can only solve this by using google API.
Safari doensn't work well with iframe tags.

Facebook share not working in mobile browser

I am using below API for Facebook share, It's working in web browser but not in mobile browser.
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D503650586358491%26set%3Da.447778305279053.102678.420576761332541%26type%3D1&t=Breaking%3A+BUCKWILD%27s+Shain+has+died.+Our+hearts+go+out+to+his+family.+More+info+here%3A+http%3A%2F%2Fon.mtv.com%2F128hbz2
I'm using android phone.
Error message : "Your link could not be found."
Any suggestion ?
Thanks
You need url for mobile to start http://m.facebook.com/sharer.php?u=
Also the rest url wont work like that, you need url site whit the Facebook Open Graph META Tags.
From what I could see, the solution offered by vj_andrei doesn't work - the m.facebook.com/sharer url just doesn't exist.
Facebook, however, have re-introduced the share button, and it works for mobile as well.

Mobile Redirect Script not redirecting Safari

This is the mobile redirect script I use. For some reason it does not redirect Safari for the iPhone. I added in |safari| just as you see |blackberry| but it redirects Google Chrome, even on a computer. Does anyone have any advice to get Safari to work on this code or a seperate code that works independantly on Safari that I could add in?
<script type="text/javascript">// <![CDATA[
var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
if (mobile) {document.location = "http://www.grossmag.com/mobi";}
// ]]></script>
The redirect worked. It was the site I was working on that was causing the issue. It was built in Joomla 2.5 and had a built in redirect for iPhones and was never getting to my redirect. I uninstalled the Joomla mobile plugin and it allowed users to be redirected to the mobile site I had built.