Skip to content

Instantly share code, notes, and snippets.

View Kradre's full-sized avatar
💭
Trying to get all ideas together

Kradre Kradre

💭
Trying to get all ideas together
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kradre on github.
  • I am kradre (https://keybase.io/kradre) on keybase.
  • I have a public key whose fingerprint is D21A 477A 0CD7 46C8 7BD1 5E51 3E74 7496 9A1F 52EE

To claim this, I am signing this object:

@Kradre
Kradre / get_video_info.php
Last active July 7, 2017 07:29 — forked from yurivictor/get_video_info.php
Get video information from url and convert to array
<?php
/**
* Get video information and convert to array
* @param string $url, the url of the video
* @uses wp_remote_get()
* @return array $video, information about the video
*/
function get_video( $url ) {
$keyd = "AIzaSyBKpv0AKIID3m60mPSOb_SCW-dvOPWbqpY";
$video = array();