I am trying to embed our bot in a customer's IE11 :( We have our own embed but we are facing that Cross Origin Request is not supported. I am even willing to just embed the standard Microsoft in page embed (that chat box with a blue top border) but users need to say something with that embed first before bot starts opening sentence..
So my questions are:
Are there any workarounds?
Is there any working web embed that I just can reuse and plug my directline into?
Is there a way to have this default microsoft embed startup the opening sentence automatically on loading?
Related
I tried to add my recently published web browser game to adsense. However, they rejected it and replied with needs attention, your site doesn't have any content.
How can I make it approved by adsense? Because it is a web browser game, it is quite normal that there is no content like blogs
Is there any alternative way to make my site publish any advertising by adsense, or any alternative for adsense that can allow web browser games?
Hey AdSense is for Unique and Informative text content. In online game nothing unique or text. So I will suggest you to create app and use AdMob or try AdX.
In my web applicatio i need functionality to share screen in video call. i'm using twilio and
my video call functionality is working fine.
i have seen link from twilio to share screen. (https://www.twilio.com/blog/2018/01/screen-sharing-twilio-video.html)
but i need to develop chrome extension for screen sharing in chrome. is there any way by which i can develop screen sharing without extension ?
Twilio developer evangelist and author of that blog post here.
As described in the blog post, to add screen sharing functionality to your video call in Chrome, you need to create and release an extension. How to build that extension is described in this blog post on screen capture in Chrome.
This is the only way to do it right now.
However, the Chrome team are working on standardising their approach and releasing support for the getDisplayMedia API. This is already supported by Microsoft's Edge browser. It works much the same as getUserMedia:
navigator.mediaDevices.getDisplayMedia().then(returnedStream => {
stream = returnedStream;
document.getElementById('screen').srcObj = stream;
})
Look out for this coming to Chrome soon.
I've created a Bot in MS teams that can authenticate the user against AAD. I've used the AuthBot code for this.
This works correctly. I have questions regarding further improving the sign-in experience. The Bot currently opens up a web browser, the user logs in and is redirect to a page with a magic number that he or she needs to copy-paste back into teams.
If I understand the Authentication section on this page correctly, then the following should be possible:
The browser window can be opened inside of Teams instead of through
the browser by specifying a validDomains attribute in the Teams
package manifest file. However, I chat with the Bot 1:1 and it
doesnt seem to use the manifest file (the Bot's image doesnt use the
one from the manifest). How do I get the login window to open inside
Teams?
There is a MS Teams javascript file. Can I use this (on the page that my Bots shows after authentication) to
redirect the user back to teams, and possibly automatically paste
the magic number into the chat with the Bot?
We missed answering this in August, apologies.
A more elegant way of doing bot authentication has been a common developer request. We are almost ready to publish samples and documentation for this solution once it's fully deployed on all client platforms. This approach removes the need for AuthBot completely and supports an integrated authentication experience, i.e. without opening a browser tab.
Currently, however, to answer your question, there is no way to have an inline authentication experience and the validDomains is not enforced (since it's just opening a browser page). The JavaScript client SDK you refer to is not used at all with bots because bots cannot currently run code on the client.
So in other words, what you are doing with AuthBot is currently the best possible way to do it.
Pocket chrome extension has a feature that "Integrated buttons on Twitter.com and Google Reader for one-click saving".
Here's a screenshot of my twitter timeline.
Every tweet will have a bunch of buttons (Reply, Retweet, Favorite, etc) if we hover over it. With the Pocket extension enabled, we can also have a integrated pocket button and save tweet to pocket with one-click (red line).
I wonder how that can be implemented since I intend to add my own buttons that will sync tweet to other services.
And ideas or links would be helpful.
Thanks
To modify the content of a web page, you have to use content scripts. In your content scripts, you will call DOM functions to add those share buttons (depending on how the page is generated and the structure of the page, it can be very easy or very tricky). And you add a click event listener to those added buttons. In the event handler, you can obtain the tweet text and send a message to the background page. Your background page handles these messages and make appropriate XHRs to share the tweet to other services.
This is the first time I've ever seen a button like this (see right side). Clicking on that button launches Spotify. How is Spotify able to do this for their emails? Can this be done with other applications right now?
Disclaimer: I am a Spotify employee, but I haven't worked on this feature personally.
Google recently added support for markup that lets you embed interactive actions in your messages. You can see the blog post about this or the developer reference. The basic concept is that you embed some structured JSON data in your message, as in this example.
We embed markup in our notification emails that links to the Spotify Open site. For example, here's a link for Passenger — Holes: http://open.spotify.com/track/33lol6G1GUj0d3DyE1QzLw
If you have the Spotify desktop app installed, a redirect on that page to a spotify:track: URI will open the linked track in the desktop.
I would say that it is probably either a feature of Gmail or Spotify has installed some kind of browser plugin that inserts this button onto any page that it wants.
Just like torrents, browsers can associate certain header types with specific programs for example torrents use the magnet:// url which the browser associates with an installed bit torrent client.
So I would assume that this button launches a url like spotify://this-is-a-song-name-987897/ which launches the Spotify program on your computer.