# Call a number

Incorporating direct call functionality in your video can significantly enhance user engagement by providing a seamless way for viewers to connect with you or your business. This feature is particularly useful in scenarios where immediate communication is a key aspect of the viewer's journey. Here are two methods to integrate this functionality into your interactive video, along with examples of use cases where such a feature could be invaluable:

### Method 1: Using the Interactive → Open Link Connector

1. **Implementation**: Choose the 'Open link connector' and then proceed to the 'code' option. Here's the basic code structure:

```jsx
var number = '00972541234567'; // Replace with your actual phone number
return `tel:${number}`;

```

1. **Use Case Example**: Imagine a real estate video tour. At the end of the video, viewers might be interested in scheduling a visit or inquiring further. By clicking a 'Call us to know more' button integrated with this code, they can instantly initiate a call to the provided number.

### Method 2: Using the Interactive → Expression Connector

1. **Implementation**: Opt for the 'Expression connector' and input the following code:

```jsx
(data, liveData, event, element, player) => {
  var number= '+1-00-0000'; // Replace with the desired phone number
  window.open(`tel:${number}`);
}

```

1. **Use Case Example**: Consider an instructional video from a tech product company. If a viewer needs more information or technical support, a 'Call for Support' button can facilitate immediate communication with customer service.

Both those options will open the native call functionality of the device.

### How to Apply These Methods:

* **Choose the Right Context**: The call function is best used where immediate action is desired, such as customer service, booking, or inquiries.
* **Customize the Number**: Replace the placeholder numbers in the code snippets with the actual contact number you wish your viewers to use.
* **Test the Functionality**: Ensure the call action works as intended across different devices and platforms to provide a smooth user experience.

By implementing this direct call feature, you offer viewers a convenient and immediate way to reach out, enhancing the interactive experience of your video and potentially increasing conversion rates or customer satisfaction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.blings.io/creator/studio/custom-elements-advance/call-a-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
