Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Feature/plat 528 iframe block #569

Merged
merged 33 commits into from
Nov 1, 2016
Merged

Conversation

gusliedke
Copy link
Contributor

@gusliedke gusliedke commented Oct 19, 2016

https://jira.comicrelief.com/browse/PLAT-528

TO DO

  • add bg colour field
  • fullscreen on mobile

@pvhee pvhee added this to the 1.15.0 milestone Oct 19, 2016
@pvhee
Copy link
Contributor

pvhee commented Oct 21, 2016

@gusliedke here is the preview of the kids game -- http://dev.goodboydigital.com/client/comicrelief/adventure/ Can we use this for testing the iframe?

@gusliedke gusliedke modified the milestones: 1.16.0, 1.15.0 Oct 25, 2016
@gusliedke
Copy link
Contributor Author

@pvhee link game is not working

@bimsonz
Copy link
Contributor

bimsonz commented Oct 26, 2016

Only had a brief look over this but it looks good to me

{{ field_cr_iframe_embedded_image }}
</div>
</a>
<iframe width="100%" height="100%" id="play-iframe" data-src="{{ field_cr_iframe_embedded_link }}" src="about:blank">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing as you're using a css id there, are we sure there's only even gonna be one of these on any page?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, make sense to have class in case there is more then one .. will change

bottom: 0;
left: 0;
width: 100vw;
height: 100vh;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know iOS doesn't support the VW and VH units, so we may need to change this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will use % or add it as fallback

@gusliedke
Copy link
Contributor Author

@AndyEPhipps @Heleen-cr done changes and a bit more .. check it out please

@bimsonz
Copy link
Contributor

bimsonz commented Nov 1, 2016

@gusliedke happy for me to merge this yeah ?

@gusliedke
Copy link
Contributor Author

@bimsonz yes

@bimsonz bimsonz merged commit e780b9f into develop Nov 1, 2016
@bimsonz bimsonz deleted the feature/PLAT-528_iframe_block branch November 1, 2016 11:17
@bimsonz bimsonz mentioned this pull request Nov 1, 2016
@pvhee pvhee mentioned this pull request Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants