-
Notifications
You must be signed in to change notification settings - Fork 256
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
Embedded the CV overview video in introduction documentation #358
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,6 @@ As the CircuitVerse community grows, educators and students can join the online | |
|
||
Watch the below video for a quick demonstration of the CircuitVerse platform. | ||
|
||
[CV Marketing Video] | ||
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;"> | ||
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="https://www.youtube.com/embed/3Df-2Cn_80A" frameborder="0" allowfullscreen></iframe> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also I think that if we write it like this instead of using inline styling, it will be better. |
||
</div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change it to
<div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure @Prerna-0202 ma'am, The styling in the div was to make it look responsive maintaining youtube's aspect ratio
16:9
Actually when I removed all the styling and just converted it to
![Screenshot 2023-12-10 222845](https://private-user-images.githubusercontent.com/136724527/289374045-570351a0-e293-4574-8451-a0dc2fdea0bc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTEzODksIm5iZiI6MTczOTU5MTA4OSwicGF0aCI6Ii8xMzY3MjQ1MjcvMjg5Mzc0MDQ1LTU3MDM1MWEwLWUyOTMtNDU3NC04NDUxLWEwZGMyZmRlYTBiYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwMzQ0NDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZTAyZGI3Mzk0MTYzNzEyNzc5YWEwZDUwNTU3MDQzN2IyNjA1MTdlMGI2ZmE0NmU0MmZiMGIwMTI3MDFjYTMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xhDFWIYsRPU5F2JcuuLnykI1ZVM1CcpQiedmmg-g27M)
<div>
in line 25, The CV video filled all of the page because ofposition: absolute
in line 26.By removing all that
position
from line 26 too, The aspect ratio became poor. Below is the accompanying image.Should I let it be like this or specify some different
height
andwidth
? at present both height and width are 100%.Thanks for the help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried applying both of the suggested changes I mentioned? Even after applying both suggestions, is the aspect ratio still not correct?