Hi,

Could any one suggest How play video for particular node through twistage module?

twistage module not relating 2 tables in data base.Tables are "twistage_video_token" & "twistage_videos".

At "twistage_video_token" table, vid and pid showing null value.If we not getting pid below function will not work.

        $video = twistage_publish_get_video_by_token($node->field_my_video[0]['token']);
        $preroll = twistage_get_preroll_video($video->pid);
        print theme('twistage_video', $video, $preroll);
      

Thanks in advance!
Ratnamala

Comments

xmattus’s picture

Because of how the asynchronous upload system works, you don't "know" the vid and pid until Twistage has processed the video and sent a "ping" back to your site. When you submit the video to Twistage, that randomly-generated token is sent as well and returned with the full video data so the module can save it to the DB.

I suspect your problem is that your site isn't receiving pings. You should check the site-wide Twistage settings, and the "hook URL" in your Twistage admin area, and make sure everything matches up.

yratnamala’s picture

Thanks for the response!

yes may be Hook url not working but, if Iam doing the manual sync, all videos are updating at druapl but not updating vid & pid at DB.

May be bcoz...

I have created "cmi_test" folder at http://204.232.206.150 and installed drupal (i.e http://204.232.206.150/cmi_test) ,I have created profile with required credentials and Iam setting username and password for getting dynamic pings and its suggesting hook url like below

http://204.232.206.150/twistage/hook/cmi_drupal/drupaltest/drupaltest

if we set same at Twistage hook settings , its showing error when we click on "test hook"...if we add "cmi_test" in url its working fine.

http://204.232.206.150/cmi_test/twistage/hook/cmi_drupal/drupaltest/drup...

please suggest me how to rectify this problem.Is there any settings to do for folder(cmi_test)?Its really very urgent!

Regard's
Ratnamala