This question already has answers here:
Get YouTube Video dimensions (width/height)
(5 answers)
Closed 5 years ago.
a)Can I check is there a default width and height that is set by Youtube when a public try to share the video to Facebook ?
b)Or user can set the width and height of the video when they upload the video to Youtube?
When you upload a video, facebook or youtube, there a default height and width... but it's not resizable in none of them. Now if you embed a facebook or youtube video inside your own website you can adjust width and height as you want it.
Related
I'm trying to create a custom open graph story to Facebook but I'm having some trouble getting the og:image to show properly. I'm using a 1200*630 sized image as recommended here and here but on my timeline it gets cropped in to a square from the left edge of the image. It also shows as a square in the story preview though this time it's cropped from the center.
How can I get the image to show in the correct aspect ratio and size? Is it just the test environment to blame or do I need to add something on my server side? I've already tried to use the meta tags width and height with no success.
Currently the tag looks like this:
<meta property="og:image" content="http://www.linktomyimage/1200x630pixels.png" />
Open Graph Stories Images appear in a square format. Image ratios for
these apps should be 600 x 600 px.
from Facebook sharing best practices
Be sure to have your image at an 1.91:1 aspect ratio. Facebook also notes that images for game app stories appear square, but I'm not sure from your information above if that applies to your situation. GL
It shows the 1200 X 630 image on retina screens only.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
iPhone 5 CSS media query
The iPhone 5 tech spec states screen dimension of 1136 by 640
My question is this,
For landscape, ff I am to use the max-device-width of 568px
refer to http://www.stephentgilbert.com/mediaqueries/#iPhone
can you explain why that works when the dimension stated on the iPhone 5 site says the width would be 1136px
I know I'm mixing up with some of the fundamentals here. I'd appreciate if you could provide me with a proper explanation and perhaps link me to relevant online resources.
The iPhone's Retina display means the 1136x640 screen uses 568x320 virtual pixels. Each CSS pixel is made up of four physical pixels (2x2).
Since no one who says "give me a 100px wide div here" in CSS wants it to show up at half-size on a higher-resolution device like a Retina display, it doesn't use the physical pixels as CSS pixels.
The Retina display contains twice as many pixels as the standard display, but iOS treats the resolution as the standard display for measurement and screen output. If it didn't, websites would all look very tiny and zoomed out.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Recording video in Black and White
How to capture the black and white video
I am developing iPhone application. In this application i need to capture the video that video format is black and white video. I trying to solve this last one week. I don't know how solve this. If anybudy know how to capture the black and white video, here post your commands. give some example link and code also, It's needful for development.
Thanks in Advance.
coreimage (ios 5 or higher) have many of the video/image filters that can be configured to attain dramatic effects including the one you are looking for (b&w).
checkout the documentation for the same:
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/CoreImaging/index.html
This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
code to set image as wallpaper in iphone
I am creating an app in which i am having wallpaper sections. After the wallpapers displayed in full screen size there is button set as wallpaper when clicking on that button particular image should be set as iphone wallpaper.
Can anyone help me with this???
There is no publicly available API to set the wallpaper. If there were, the App Store would be full of wallpaper setting apps.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
SVG file render image in smaller size
Hi,
I am loading data from svg file on the webview in iPhone , but the problem is that images are getting smaller than the original size , when they are displayed on webView.
I am not getting reason that why images are shrinked???
Thanks
Meet B.
try turning off the "scalesPageToFit" property to off, as in:
Yourwebview.scalesPageToFit=FALSE;