The Google Fit button in your YouTube link is not compliant with the Google fit branding guidelines - google-fit

Google says that login button is wrong.
"Sign-in Branding
The Google Fit button in your YouTube link is not compliant with the Google fit branding guidelines.
Please update the button so that it complies with the Google Fit branding guidelines."
And the video itself: https://www.youtube.com/watch?v=bj2vDKhX5nU
What is this screen supposed to look like? Does somebody have examples of buttons that DID pass the review process? I did follow the branding guidelines to the best of my understanding, but it's still stuck.
EDIT: Should it actually be one button to activate Google Fit, and then another to request the permission for physical activity?

I am currently going through the same process as you do. I think it has to do with the folowing:
button background should be white or gray (maximum 5% black);
use color Google Fit logo (see ther marketing guidelines page); keep it to the left side of the button, as it’s most common; mind the padding;
maybe use Connect to Google Fit for the button text, which is one of their recommendations.
I will return with an update as soon as I hear from the Google team again.

Related

Creating iOS-style "Zoom element to next page" transitions with CSS and JS

I am building web-apps using Ratchet, replicating the look of native APPs.
Ratchet is doing a great job at replicating the look of iOS, but there is a feature which I really miss from iOS which is the ability to "move" an element to the next page by moving and zooming it.
Example: I have a list of articles. Upon clicking the thumbnail of the article, the thumbnail image gets bigger as the articles open, in a seamless transition.
The following gif. from Facebook "paper" illustrates well the effect I want to achieve:
http://d24njcbunk2gp2.cloudfront.net/assets/2014/02/Facebook-Paper-008.gif
My questions would be:
- Is this type of transition possible using only web-technologies?
- Is it possible, in general, to have one element moving in a continuous way from one page to another without any flickering effect?
- Would such effect be possible only with single-page applications? (say a single-page website built with angularJS)
- Would any framework / tool (PhoneGap?) be useful in achieving this result
Thanks so much.
Thomas

Replacing Social Media Icons with Custom Images

I'm wondering how to replace my social media icons with my own custom images. For example instead of using the typical Facebook Like button or Twitter follow button I would replace it with my own image, while keeping the same functionality.
Websites like BuzzFeed and SuperCompressor are good examples that it can be done. Each has replaced the Facebook Like button with a custom image but the functionality remains the same.
I'm having a hard time finding any information one the web. Can anyone guide me in the right direction?
As the place you will find this image may depend on the plugins and themes you use, you have to find out where the actual image comes from.
To do so, I would suggest that you install a browser such as Chrome that allows you to inspect an element on your page (will open the portion of code displaying the selected item). Once you see where the image comes from, you can either replace the actual image with a custom one if it's on your website's server, or search your website files for this image's URL and replace it with a link to the image of your choice.
I think something like
this http://www.inboundnow.com/apps/facebook-like-button-generator/
might work but the google search for
custom facebook like button for website
has a lot of results
EDIT: Well if you already know how to make a custom image you can follow
https://stackoverflow.com/questions/9493988/how-to-trigger-facebook-like-button-from-custom-button
to make your custom image into a facebook like button
`http://jsfiddle.net/masondesu/haxvL/`
This site also has some info

Can anyone help me put a blank image over a photo on a web site?

The client doesn't want the photo to be downloaded if it is right clicked on. I explained if someone wants the photo they can get it off the site but he wants to make it a bit more difficult for a novice user to download the image. Hence if you right click you will get the blank 'photo' instead of the actual photo underneath.
Use logic:
Put the image you want to protect as a background image in a <div> or other block level element
Put an <img> that is transparent over that image in the <div>. Make sure it covers the entire image/div
A quick google has thrown this up for me, hope it can help you.
4) Prevent Downloads Using Tables: 'Right clicking' images is a fast shortcut to find, copy, and/or download images. For those that have their own website it is possible to prevent this action by placing images as a background to tables. The code is fairly simple in CSS, using the "background-image:url" style:
<table style="background-image:url('image.jpg');width:Wpx;height:Hpx"><tr><td></td></tr></table>
Another method might be,
5) Javascript Right Click Disable: Another measure to prevent right clicks on images is to use Javascript. These short scripts over-ride browser right clicks. Rather than recreate a script that has been widely published in various forms over the internet, I will leave it to the reader to search google for Javascript Disable Right Click. I will however mention that Javascript is client-side, and scripts such as these can not only effect the usability of a website, but can also readily be disabled by turning Javascript off.
I took the info above from this site --- http://www.naturefocused.com/articles/image-protection.html ---
People can just printscreen the image and put it in paint if they really wanted it though im afraid :(
Thanks,
Jack.

iframe - how to reproduce live camera feed from another website

I want to reproduce the live camera feed from http://www.falakrotop.meteodrama.gr/webcam.php. I want to display a resized (200x150) image of the live feed camera image on this website. Using iframe caused scrollbars to appear, making hard to see the (huge) image in a small 200x150 box. Is there a way to only take the live image, resize it and display it on my website (and also refreshing live)? I cannot use iframe to only use the image, as it seems to be dynamically generated...
The webcam seems to be offline now, but have you tried this?
<img src="http://www.falakrotop.meteodrama.gr/tincam1.jpg" />
If that doesn't work, you could try scraping it using fsockopen.
You will get the full page then, and after that, use preg_match to get to the image.
I would also highly recommend clearing it with the webmaster / owner of the site. You would be sending a lot of requests to his/hers website.
You can find some good examples on the pages I linked to.
I hope this helps. Good luck!

How can I most performantly display musical chord sheets in HTML5?

I am currently working on my final year project for my degree in Software Engineering. I have decided that my project will be to develop a web application using HTML5 that will display chord sheets in a web browser (specifically Google Chrome). The idea is that each member of a band might have some sort of device in front of them (iPad, laptop etc.) which can access the application where they can log in, view the chords for the songs as the progress through a set and add annotations which are stored in the database and then shown to the user each time the song is displayed on their screem.
However, I am having a problem with how best to display all this in a browser window. I want it to have a similar appearance to that of a PDF document displayed in a browser window in that the user is able to scroll horizontally and vertically and zoom in and out as if they were viewing a PDF document. Is using SVG graphics the best way to achieve this? Or is there another way?
Rendering speed is going to be important as the idea is that this will be a system that could potentially be used in live situation, and I need to make sure I keep page loading/rendering times as low as possible.
I would greatly appreciate any thoughts you have!
Check out Vexflow! It’s an open-source web-based music notation rendering API, written completely in JavaScript, and runs right in the browser. VexFlow supports HTML5 canvas and SVG.
Here’s a demo and here’s a tutorial.