Skip to content
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

FR: Missing features from 3.x #465

Open
adrienne opened this issue Jan 2, 2022 · 1 comment
Open

FR: Missing features from 3.x #465

adrienne opened this issue Jan 2, 2022 · 1 comment

Comments

@adrienne
Copy link

adrienne commented Jan 2, 2022

We've noticed that some info that used to be available in the 3.x branch is no longer available in the 4.x branch. In particular:

$info->type; //The page type (link, video, image, rich)
$info->tags; //The page keywords (tags)
$info->imageWidth; //The width of the main image
$info->imageHeight; //The height of the main image

these are actually pretty important to us, is there any chance they will be brought back?

@oscarotero
Copy link
Owner

  • $info->tags was renamed to $info->keywords.
  • $info->type was removed, more info here: How to detect type. #422
  • $info->imageWidth and $info->imageHeight was removed too due performance issues

One of the advantages of 4.x is that you can implement other properties easily. More info here: https://github.com/oscarotero/Embed#detectors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants