Turnkey session 6: SocialLogin
No edit summary
No edit summary
Line 1: Line 1:
<html>
<html>
<h4> Session 6 – here we set up Social login with Google, Facebook and Microsoft. After following the instructions here your app will offer your users to sign in with their existing social accounts. </h4>
<h4> Session 6 – here we set up Social login with Google, Facebook and Microsoft. After following the instructions here your app
  will offer your users to sign in with their existing social accounts. </h4>


<p class="warn">
<p class="video-warn">
<em>To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme timeplace in the video. Now you can pick any topic to be instructed without watching the whole video.</em> </p>
  <em>To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini
<style type="text/css">
    player. Choose the interesting subtitle on the list and immediately get to the exact theme navigation-itemplace in the
p.warn {
    video. Now you can pick any topic to be instructed without watching the whole video.</em>
opacity: 0.7;
</p>
text-align: justify;
width: 90%
}
#video12 {
  position: relative;
  padding-bottom: 10px;
}
#video12::after {
  content: "";
  display: table;
  clear: both;
}
#video12 iframe {
  width: 100%;
  min-width: 200px;
  max-width: 740px;
  height: 500px;
  float: left;
}


@media (max-width: 767px) {
  #video12 iframe {
    height: 180px;
  }
}
#video12 div {
  float: left;
  padding-left: 10px;
overflow-y: auto;
height: 500px;
}
span.time {
    display:block;
  padding: 2px 10px 2px 10px;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
  opacity: 0.7;
}
span.time:hover {
  color: #0000FF;
  cursor: pointer;
}
span.time:focus {
  color: blue;
}
</style>
<br>
<br>
<div id="video12">
<div class="video">
<iframe width="740" height="500" src="https://www.youtube.com/embed/37Qoij5KZX4?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
  <div class="video__wrapper">
  <div>
<iframe src="https://www.youtube.com/embed/n2C9geLx4D0?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
    <span class="time" data-video="37Qoij5KZX4" data-start="40" tabindex="0"> Google Authentication </span>
</div>
    <span class="time" data-video="37Qoij5KZX4" data-start="133" tabindex="0"> Facebook </span>
<div class="video__navigation">
    <span class="time" data-video="37Qoij5KZX4" data-start="256" tabindex="0"> Microsoft </span>
  <span class="navigation-item" data-video="n2C9geLx4D0" data-start="45" tabindex="0"> Google Authentication </span>
  <span class="navigation-item" data-video="n2C9geLx4D0" data-start="138" tabindex="0"> Facebook </span>
  <span class="navigation-item" data-video="n2C9geLx4D0" data-start="261" tabindex="0"> Microsoft </span>
</div>
</div>


<script>
var IMG = document.querySelectorAll('#video12 span'),
    IFRAME = document.querySelector('#video12 iframe');
for (var i = 0; i < IMG.length; i++) {
  IMG[i].onclick = function() {
    IFRAME.src = 'https://www.youtube.com/embed/' + this.dataset.video + '?rel=0&autoplay=1';
    if(this.dataset.end) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&end=' + this.dataset.end);
    if(this.dataset.start) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&start=' + this.dataset.start);
    this.style.backgroundColor='rgba(0,0,0,.2)';
  }
}
</script>
</html>
</html>
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
[[Category:Authentication]]
[[Category:Authentication]]

Revision as of 22:28, 31 July 2018

This page was created by Alexandra on 2017-01-22. Last edited by Edgar on 2025-01-20.

Session 6 – here we set up Social login with Google, Facebook and Microsoft. After following the instructions here your app will offer your users to sign in with their existing social accounts.

To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme navigation-itemplace in the video. Now you can pick any topic to be instructed without watching the whole video.


Google Authentication Facebook Microsoft

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments