album_id * * @return bool|object */ public function get_album_info( $album_id ) { $url = 'https://api.vimeo.com/albums/' . $album_id; $data = $this->fetch_remote( $url ); if ( $data && is_object( $data ) ) { return (object) array( 'title' => $data->name, 'description' => $data->description, 'username' => $data->user->name, ); } return false; } /** * Filters attribute * * @param $attrs * * @return mixed */ public function filter_attrs( $attrs ) { if ( ! empty( $attrs['videos'] ) ) { $videos = &$attrs['videos']; $videos = explode( "\n", $videos ); $videos = array_map( array( $this, 'get_video_ID' ), $videos ); } if ( ! empty( $attrs['playlist_url'] ) ) { $attrs['playlist_url'] = $this->get_album_ID( $attrs['playlist_url'] ); } return $attrs; } /** * Returns video id from URL * * @param $vimeo_url * * @return mixed */ protected function get_video_ID( $vimeo_url ) { $vimeo_url = trim( str_replace( '&', '&', $vimeo_url ) ); if ( preg_match( '#^(?: https? \: )? (?: //)? w* \.? vimeo \.com /* ([^\s]+)$#ix', $vimeo_url, $matched ) ) { return $matched[1]; } else { $video_ID = &$vimeo_url; return $video_ID; } } /** * Returns album ID from URL * * @param $vimeo_album_url * * @return mixed */ protected function get_album_ID( $vimeo_album_url ) { if ( preg_match( '#^(?: https? \: )? (?: //)? w* \.? vimeo \.com /*album/* ([^\s]+)$#ix', $vimeo_album_url, $matched ) ) { return $matched[1]; } return $vimeo_album_url; } /** * Returns playlist/album info * * @param $play_list_id * * @param int $limit * * @return array|bool */ public function get_playlist_videos_info( $play_list_id, $limit = 50 ) { return $this->get_album_videos_info( $play_list_id ); } /** * Fetches album info from Vimeo * * @param $album_id * * @return array|bool */ public function get_album_videos_info( $album_id ) { if ( empty( $album_id ) ) { return false; } $url = 'https://api.vimeo.com/albums/' . $album_id . '/videos'; $data = $this->fetch_remote( $url ); if ( $data && isset( $data->data ) && is_array( $data->data ) ) { $videos_info = array(); foreach ( $data->data as $video ) { $video_id = $this->get_video_ID( $video->link ); $videos_info[ $video_id ] = array( 'title' => $video->name, // 'description' => $video->description, 'thumbnails' => $this->prepare_thumbnails( $video->pictures->sizes ), 'duration' => (int) $video->duration, ); } return $videos_info; } return false; } /** * Prepares thumbnails * * @param $sizes * * @return bool|\stdClass */ private function prepare_thumbnails( $sizes ) { if ( empty( $sizes ) || ! is_array( $sizes ) ) { return false; } $sizes_name = array( 0 => 'default', 1 => 'small', 2 => 'medium', 3 => 'high', 4 => 'xhigh', 5 => 'standard', 6 => 'large', 7 => 'xlarge', 8 => 'huge', 9 => 'xhuge', ); $result = new stdClass(); usort( $sizes, array( $this, '_sort_by_width' ) ); $max_resolution = array_pop( $sizes ); $result->maxres = array( 'url' => $max_resolution->link, 'width' => $max_resolution->width, 'height' => $max_resolution->height, ); foreach ( $sizes as $index => $size ) { $sz_index = floor( $size->width / 100 ) - 1; if ( isset( $sizes_name[ $sz_index ] ) ) { $sz_name = &$sizes_name[ $sz_index ]; $result->$sz_name = array( 'url' => $size->link, 'width' => $size->width, 'height' => $size->height, ); } } return $result; } /** * Handy function for usort * * @param $a * @param $b * * @return bool */ private function _sort_by_width( $a, $b ) { return $a->width > $b->width; } /** * Handy function for default frame url * * @param $attrs * * @return string */ public function default_frame_url( $attrs ) { return 'https://player.vimeo.com/video/{video-id}?autoplay=0'; } /** * Handy function for video frame URL * * @param $attrs * * @return string */ public function change_video_frame_url( $attrs ) { return 'https://player.vimeo.com/video/{video-id}?autoplay=1'; } } Spine Care Archives - Page 2 of 36 - PushAsRx Athletic Training Centers El Paso, TX
Mission Spine Injury Clinic
11860 Vista Del Sol, Ste 128
P: 915-412-6677

Spine Care

Repairing the Spine From Inside Out: A Guide

Repairing the Spine From Inside Out: How Integrative Chiropractic Care and Regenerative Therapies Work Together Your spine is the strong… Read More

July 13, 2026

Speeding and Aggressive Driving Accidents: Healing Options

Speeding and Aggressive Driving Accidents: What They Are, Why They Happen, and How Integrative Care Supports Real Recovery Speeding and… Read More

July 3, 2026

Fixing Poor Posture: Combining Therapies for Success

Fixing Poor Posture: How Regenerative Therapies, Chiropractic Care, and Spinal Decompression Work Together in El Paso Poor posture does more… Read More

June 30, 2026

Sciatica Pain Relief in El Paso: Innovative Therapies

Sciatica Pain Relief in El Paso: How Regenerative Therapies and Chiropractic Care Target the Real Causes Sciatica pain can turn… Read More

June 29, 2026

Auto Accident Hip Injuries and Recovery Care Options That Work

Auto Accident Hip Injuries and Recovery Care Options Car accidents often subject the body to sudden, powerful forces. The hip… Read More

June 26, 2026

Integrated Injury Clinics in El Paso And Your Healing

Integrated Injury Clinics in El Paso: How Coordinated Care Speeds Recovery and Strengthens Your Claim After a car accident or… Read More

June 24, 2026

Healing Sciatica and Chronic Back Pain Solutions

Healing Sciatica and Chronic Back Pain: Regenerative Therapies and Shockwave for Real, Lasting Relief Sciatica and chronic back pain can… Read More

June 18, 2026

Balancing Hormones for Better Weight Management Strategies

Balancing Hormones for Better Weight Management: How BHRT Supports Metabolism and Fat Control Hormones act like messengers that tell your… Read More

June 16, 2026

PRP Spinal Care: How Platelet Therapy Works

Platelet-Rich Plasma (PRP) Therapy for Spinal Care: Natural Healing for Back Pain and Improved Mobility Spinal problems affect millions of… Read More

March 31, 2026

PRP Therapy for Sciatica: A Revolutionary Approach

PRP Therapy for Sciatica: How Platelet-Rich Plasma Injections Promote Natural Healing and Long-Term Relief Sciatica can turn everyday tasks into… Read More

March 26, 2026

Regenerative Medicine: Natural Healing for Injuries

Regenerative Medicine: A Natural Path to Healing Without Surgery Many people deal with joint pain, tissue damage, or injuries from… Read More

March 24, 2026

Chiropractic Care: Enhancing Mobility and Reducing Pain

Integrative Chiropractic Care: Enhancing Mobility, Reducing Pain, and Boosting Overall Wellness Integrative chiropractic care helps people feel and function better… Read More

March 17, 2026

Chiropractic Spinal Reductions Improve Your Health

Understanding Chiropractic Spinal Reductions: Benefits, Process, and Integrated Care Chiropractic spinal adjustments are a common way to help with back… Read More

March 12, 2026

The Sciatic Nerve: Function, Health, and Chiropractic Benefits

Understanding the Sciatic Nerve: Function, Health, and Chiropractic Treatment for Sciatica The sciatic nerve is a key part of your… Read More

March 6, 2026

ESWT for Faster Recovery from MVA Injuries Techniques

Extracorporeal Shockwave Therapy (ESWT) for Faster Recovery from Motor Vehicle Accident Injuries Motor vehicle accidents (MVAs) often leave people with… Read More

March 3, 2026

Personal Injury, Trauma & Spine Rehab Specialists

Online History & Registration 🔘
Call Us Today 🔘