function _video_embed_field_hash in Video Embed Field 7.2
Creates a hash for storing or looking up a video in the store table.
Parameters
string $video_url: The video URL.
string $video_style: The video style.
Return value
string The hash generated for the video URL and the given style.
1 call to _video_embed_field_hash()
- _video_embed_field_store_video in ./
video_embed_field.module - Stores a video to be loaded later from an _video_embed_field_load_video.
File
- ./
video_embed_field.module, line 720 - Provides a simple field for easily embedding videos from youtube or vimeo
Code
function _video_embed_field_hash($video_url, $video_style) {
return md5('vef' . $video_url . $video_style);
}