***NEW*** Web Share API

  Рет қаралды 8,962

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 23
@dhanushkafernando6316
@dhanushkafernando6316 4 жыл бұрын
very usefull.I'm really learning many things from your tutorials
@king0fcodesgooglee190
@king0fcodesgooglee190 6 жыл бұрын
very usefull thanks for your videos
@jasrioworldtravellerforcra5497
@jasrioworldtravellerforcra5497 2 жыл бұрын
How to give next line in text attribute of navigator.share method
@MsDeadasdodo
@MsDeadasdodo 5 жыл бұрын
hey, looking for a solution, as whole internet did not give me an answer... when user *cancels* the sharing action sheet used (i.e. instead of picking an app to share via, they close the sheet by clicking outside or slide it down) the promise is NOT resolved. it resolves as an error but only on another click on the trigger link. this causes a lot of trouble on my side as you can imagine, as neither error or success handling gets triggered
@TheSanjay1234
@TheSanjay1234 2 жыл бұрын
hey, I'm trying to use this api but I'm getting an error "Failed to execute 'share' on 'Navigator': Must be handling a user gesture to perform a share request" on an android browser and I couldn't find any solution for this. could you please help me out on this?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
It means that you can't call the method unless your code is triggered by a user action. If the user clicks on something then you can call a function that does the share.
@raeemmohammed1103
@raeemmohammed1103 2 жыл бұрын
Can you do video on web share target api to share to a PWA?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 2 жыл бұрын
As far as I know you can't share to a PWA. A PWA is still a website, which means that app you share to is the browser.
@fourteensierra
@fourteensierra 5 жыл бұрын
Two years later and still unofficial with less than 50% support. Bummer, I wonder why?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
caniuse says Safari is the only official support. However, web.dev/web-share/ the Google Developer site says it is supported for PWAs which means Chrome, FF, Opera, and now Chromium Edge too.
@roddvolume1332
@roddvolume1332 4 жыл бұрын
How to change "Share Via" with whatever i want?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
This API still does not have decent support in the browsers.
@edwinfernando1270
@edwinfernando1270 3 жыл бұрын
Will this work with PHP? Cause I tried it, it was working with HTML, but now after creating my site(using PHP) it's not working. That shouldn't be the issue I think, but still need some sort of confirmation.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
It still has extremely limited support unfortuately - caniuse.com/web-share It's for client-side only scripting. You can't call it from the server.
@Gorr1995
@Gorr1995 5 жыл бұрын
hm "can I use" show the different result as You are showing here
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
It changes over time. This video is two years old.
@AlazTetik
@AlazTetik 4 жыл бұрын
Still not supported by majority (at the end of 2020)
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
Yep. ☹
@Chapaez
@Chapaez 5 жыл бұрын
is it possible to share image?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
You can share whatever url you want. The url can point to anything
@suvendubiswal6820
@suvendubiswal6820 3 жыл бұрын
I need only point video why you all get this type of unusefull video I don't know,,, i want to share only images and videos to social platforms that's it if u know any good api then mention or go away
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Every social platform has its own API. If you want to be able to upload your own content to them then you need to learn their APIs.
@suvendubiswal6820
@suvendubiswal6820 3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thank you sir, sorry for being rude and for my rude comment because no api was working fine in my project so. Finally sorry.
Page Visibility API (Active Tab Tracking)
7:05
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 3,7 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 662 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
How to make 3D Gaussian Splats in Under 60 Seconds!
18:42
Pixel Reconstruct
Рет қаралды 2,3 М.
The ultimate guide to web performance
6:43
Beyond Fireship
Рет қаралды 474 М.
Find Information from a Phone Number Using OSINT Tools [Tutorial]
16:59
this BASH script will make you a MILLIONAIRE
19:20
NetworkChuck
Рет қаралды 738 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 643 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 262 М.
JavaScript and Geolocation
14:59
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 13 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН