I am currently working on a receiver app through Google Cast SDK Developer Console, and when trying to style the default receiver app created by google, through my own CSS file, in order to preview these changes it asks for a URL to my CSS, I can't figure out what exactly it's asking for in that part so I can't preview my own styles.
I know the question is old, but answering for people looking for a solution to this question.
Question posted has as lot wrong in terms of understanding the google cast receivers.
So basically the user is trying to create a style for the styled media receiver.
Google cast provides 2 ready made receivers : Default and styled. You cannot do anything to the default receiver to customize it. Its just plain default receiver.
In case you want the receiver to show your logo, splash screen as well as watermark while starting the cast then you use what is known as the styled media receiver.
Now going back to the question. It is asking for a URL is because google style media receiver when invokes, needs a css input so that it can show the logo, splash screen etc. basically the UI of the receiver which is playing the cast stream.
Why the URL? Because the URL is a direct downloadable link of the css which the style media receiver downloads and projects.
You can use your own google drive account to host the css file and provide the URL.
Refer to this link for details:
http://www.oodlestechnologies.com/blogs/Building-Styled-Media-Receiver-Application-for-Chromecast
Related
i have page in which i have image of watsapp icon. What i want is when i tap on that image it go to watsapp to specific number which will be our company number, so client can text us or send any image or file through watsapp
The easiest way would be through the custom URL scheme as described here: https://faq.whatsapp.com/en/iphone/23559013
Which basically tells you to open a URI like this: whatsapp://send?text=Hello%2C%20World!. You can simply open it by calling to the Device.OpenUri method of Xamarin.Forms. This should work cross-platform for iOS and Android.
If you want to share a photo immediately this isn't possible as far as I know. It is possible to someone that is in your recent chats, by the sharing API, but to my knowledge you can't send it to a random number. At least not for iOS, it might be different for Android.
I received the request from client service requesting to investigate about the issue from a screenshot sent by a customer. However I met difficulties in identifying what device / platform / browser the customer has used to reproduce it; and hardly can get it from the requester:
From the screenshot, I can pretty sure that this was captured after a registration failure (due to javascript error/disabled). So the cursor moved to the First Name field - the reason why the icon showed. And the icons were not of the web site, so I guess they were from the native-ness of the device/browser. Not sure if it is filled by browser's add-on.
Have you ever met such icons? Could you help me identify the device / platform / browser they might use ? Any light is appreciated :)
Thanks
I recognize this as the LastPass extension, a password manager. In particular, the icon on the First Name field can be clicked to automatically fill in the whole form, and the icons on the password fields will automatically generate a random password using the extension.
It looks like the LastPass extension is available for various browsers, and the form icons appear to be the same for all of them, so that doesn't really offer much insight for what device and browser they're using. I am positive that it's not something built into the browser.
In response to possible duplicate: This question pertains to a specific button Google generates using a <script> tag targeting a particular <div>, so is different than the question linked below.
I want to, if possible, use the automatically generated Google sign-in button, reference here: https://developers.google.com/identity/sign-in/web/sign-in#add_a_google_sign-in_button
However, this button, by default, launches the sign-in as a popup, which I can't use due to a platform limitation on the app my application is being embedded into.
Is there a way to make this window open by changing the document.URL rather than as a popup? I know there are other ways to accomplish Google sign-in, but I'm trying to be a good(lazy) programmer and do it the simplest way first.
I'm looking at embedding youtube videos onto a webpage (a Drupal webpage if that helps), but I need to figure out what people will see if their business/workplace/country blocks youtube access.
Does it show 'video no longer available', does it not show anything?, does it add a class or ID to the embedded html to let css, or a scripting language know that there is an error.
I would like to be able to swap the embedded code out for a gif or something else. So users that can't access youtube will not be left with what ever youtube decides to show them.
Any tips would be great.
I tried editing the hosts file to test myself but it wouldn't take for some reason.
Cheers.
EDIT: * first-question *
This can be achieved using javascript.
In your script call a resource that is located on youtube. Since it's javascript running in the client browser, the request will comes from it and not your website.
If the request fail, the client has no access to youtube.
Did I mention that relying on external resources you can't control is bad ?
I am working on a Flex AS3 application and wanted to add the Facebook Like button inside the app. I am unable to find any API or anything apart from the http://developers.facebook.com/docs/reference/plugins/like code generator.
Any ideas on how this might be accomplished? I am quite new to the recent changes in the Facebook Platform, so any info would be appreciated.
A direct "like" button should not be possible, since Facebook needs to sandbox the whole thing. Both like button formats (iframe and xfbml) use a sandboxed iframe, so nobody but facebook can set "likes" or know anything about the user.
For that to work with Flash, I think facebook would have to provide the button itself as a SWF file so you can load it in Flash. Then it can create a sandbox within itself and thus load the user information safely. Very much like the Chromeless Youtube Player, where it's almost impossible for Flash to access the actual FLV URL (even through introspection).
But even so, I don't think this would provide enough security... realize that you are dealing with very private user information and credentials here.
The only way I know you can "like" stuff through Flash is first doing the whole Facebook Connect thing (several popup windows asking the user for permissions) and then using the API of your choice to do the actual "liking", for instance, with the Graph API:
http://developers.facebook.com/docs/api#publishing
The closest information I could find are these 2 items so far. Hope it helps you in your journey.
Facebook Developer Site: Source
Facebook like button in flash
I hate answering "no" to a question because what I really mean is "I don't know and I can't find a way". I'm sure your Google-fu is as good as mine. All I can see are Facebook forum posts like this where people are asking the same question and no one is answering.
The examples they give of the like button are either embedded in iFrames or using XFBML <fb:like ../> tag. There are no examples of how to like something using their new graph api or either of their old APIs (FQL and REST API).
I had to get a Facebook like button in a html page (looked like a header on the top) and get the swf embedded below. As its a complete flex app in my case, this work around was possible and plausible