MCPcopy Create free account
hub / github.com/Hrishikesh332/dev-ai / format_time_for_url

Function format_time_for_url

utils.py:461–465  ·  view source on GitHub ↗
(time_in_seconds)

Source from the content-addressed store, hash-verified

459
460# Format time in seconds to URL compatible format
461def format_time_for_url(time_in_seconds):
462 try:
463 return str(int(float(time_in_seconds)))
464 except:
465 return "0"
466
467def create_video_embed(video_url, start_time=0, end_time=0):
468 try:

Callers 1

create_video_embedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected