XMMContentBlock2TableViewCell Class Reference

Inherits from UITableViewCell
Declared in XMMContentBlock2TableViewCell.h
XMMContentBlock2TableViewCell.m

Overview

XMMContentBlock2TableViewCell is used to display video contentBlocks from the xamoom cloud.

– youtubeVideoIdFromUrl:

Returns the videoId from a youtubeUrl.

- (NSString *)youtubeVideoIdFromUrl:(NSString *)videoUrl

Parameters

videoUrl

youtube url.

Return Value

String videoId

Declared In

XMMContentBlock2TableViewCell.m

– initVideoPlayer

Creates and inits the videoplayer. Adds a gesture recognizer when tapping on the playerView, adds a notificication, and downloads a imagethumbnail for the video.

- (void)initVideoPlayer

Declared In

XMMContentBlock2TableViewCell.m