0

Website can be accessed through http and https, we have http for the youtube videos as follow:

 <iframe src="http://www.youtube.com/embed/oaAfdePAWPI?autoplay=1&amp;autohide=1&amp;rel=0&amp;wmode=transparent" height="347" width="617"></iframe>

I was wondering how we can have the protocole seperated to depend on http or https I know the way to do in backend but on static blocks I am not sure.

  • Please add your Magento version – PЯINCƏ Aug 18 '17 at 22:08
  • Hi Prince I found the solution for it. – Nickool Aug 18 '17 at 22:15
  • Ok, in this case accept your answer But you still haven't answered me of your Magento V ? – PЯINCƏ Aug 18 '17 at 22:18
  • version is enterprise 1.14.2.1 – Nickool Aug 22 '17 at 23:34
0

I found the solution for this! if you remove the protocol it is smart enough to know what protocol it goes to like this:

 <iframe src="//www.youtube.com/embed/oaAfdePAWPI?autoplay=1&amp;autohide=1&amp;rel=0&amp;wmode=transparent" height="347" width="617"></iframe>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.