Skip to content

Fix iframe styles in blog post "forget-the-cloud-can-your-health-app-run-ai-on-device" #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ By putting AI directly in the hands of users, not the cloud, XLCare is a step to

The prototype is fully functional and can be downloaded on the [App Store](https://apps.apple.com/us/app/xlcare/id6744706064) or the [Play Store](https://play.google.com/store/apps/details?id=com.xmartlabs.xlcare).

<div style="position: relative; padding-bottom: 177.77%; height: 0; overflow: hidden;">
<div style={{position: 'relative', paddingBottom: '177.77%', height: 0, overflow: 'hidden'}}>

Choose a reason for hiding this comment

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

We need to test this on Netlify before merging this I think

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay, as I don't have access I'm unable to do that. Anybody with access should take this task.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, actually, you can see that the youtube embed video is working on the preview URL.

<iframe
src="https://www.youtube.com/embed/FKWks8G9DzM?autoplay=1&mute=1"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
frameborder="0"
style={{position: 'absolute', top: 0, left: 0, width: '100%', height: '100%'}}
frameBorder="0"
allow="autoplay; encrypted-media"
allowfullscreen>
allowFullScreen>
</iframe>
</div>

Expand Down